Page 2 of 4

Re: GPG file in the HEAD repository

Posted: 22 Apr 2017, 18:05
by Sheldon
I followed the initial approach using XZ Utils and GnuGP combined with a batch holding the provided commands from above. That works fine

If I got you right you work in a portable enviroment like me. XZ as a binary is portable as well as GnuGP. After installing GnuGP once you can copy the app folder to a location of your choice and uninstall GnuGP. This is a common practice for many portable apps not following the PortableApps.com standard approach.

Re: GPG file in the HEAD repository

Posted: 22 Apr 2017, 21:58
by viking
Sheldon wrote:I followed the initial approach using XZ Utils and GnuGP combined with a batch holding the provided commands from above. That works fine

If I got you right you work in a portable enviroment like me. XZ as a binary is portable as well as GnuGP. After installing GnuGP once you can copy the app folder to a location of your choice and uninstall GnuGP. This is a common practice for many portable apps not following the PortableApps.com standard approach.
I had actually installed GPG4Win a few years ago and that apparently also installed GnuGP. I ran the command

Code: Select all

gpg --trusted-key 4E402EBF7C3C6A71 --output FileBot.jar.xz --decrypt FileBot.jar.xz.gpg
followed by extraction with WinRar and got the filebot.jar :)

BTW, how can I find out the version number of the filebot.jar ?

Re: GPG file in the HEAD repository

Posted: 22 Apr 2017, 22:13
by Sheldon
Instead of installing GPG4win I use this.

To find out the JAR version you can use the corresponding CLI command.

Code: Select all

filebot -version
But I would recommend to get the sysinfo using the sysinfo script with the CLI.

Code: Select all

filebot -script "sysinfo"

Re: GPG file in the HEAD repository

Posted: 23 Apr 2017, 00:47
by Leokosta
Hello, Viking ... Try using 7zip to extract the file. I got some errors, but in the end I could replace the .jar file, and Filebot seemes to be working fine.

Re: GPG file in the HEAD repository

Posted: 23 Apr 2017, 00:55
by viking
Sheldon wrote:Instead of installing GPG4win I use this.

To find out the JAR version you can use the corresponding CLI command.

Code: Select all

filebot -version
But I would recommend to get the sysinfo using the sysinfo script with the CLI.

Code: Select all

filebot -script "sysinfo"
I was wondering if there is some way to tell the version in the jar file itself?
If I have several jar files I may not want to copy them one-by-one to the FileBot directory and run the script just to find the version..

Re: GPG file in the HEAD repository

Posted: 23 Apr 2017, 00:57
by viking
Leokosta wrote:Hello, Viking ... Try using 7zip to extract the file. I got some errors, but in the end I could replace the .jar file, and Filebot seemes to be working fine.
As explained above, I am using WinRAR to extract; that works fine. The issue was GPG, but as I also explained above, that has also been taken care of.

Re: GPG file in the HEAD repository

Posted: 23 Apr 2017, 02:09
by rednoah
You can get the revision for each jar like this:

Code: Select all

java -jar /path/to/FileBot.jar -version

Re: GPG file in the HEAD repository

Posted: 23 Apr 2017, 03:17
by viking
rednoah wrote:You can get the revision for each jar like this:

Code: Select all

java -jar /path/to/FileBot.jar -version
That worked. Thanks!

Re: GPG file in the HEAD repository

Posted: 23 May 2017, 08:42
by Sheldon
Hi,

there seems to be a problem with the latest gpg file.
The xz decompression throws an "Unexpected end of input" exception.

Please have a look!

Kind regards,

Sheldon

Re: GPG file in the HEAD repository

Posted: 23 May 2017, 10:17
by rednoah
Fixed.

Re: GPG file in the HEAD repository

Posted: 23 May 2017, 10:50
by Sheldon
Now it works fine! Thanks!

Re: GPG file in the HEAD repository

Posted: 07 Jun 2017, 08:37
by Sheldon
Hi,

calling https://sourceforge.net/projects/filebo ... ebot/HEAD/
throws a 404 exception.
Please have a look!

Kind regards,

Sheldon

Re: GPG file in the HEAD repository

Posted: 07 Jun 2017, 09:55
by rednoah

Re: GPG file in the HEAD repository

Posted: 19 Jun 2017, 09:08
by Sheldon

Re: GPG file in the HEAD repository

Posted: 19 Jun 2017, 09:39
by rednoah
Yes. This is my own server so it won't depend on SF or be affected by SF issues. The update-filebot.sh has been updated accordingly.

Re: GPG file in the HEAD repository

Posted: 19 Jun 2017, 09:44
by Sheldon
Thanks!

Re: GPG file in the HEAD repository

Posted: 25 Jun 2017, 09:51
by Sheldon
https://get.filebot.net/filebot/latest/
FileBot.jar.xz.gpg 24-Jun-2017 23:29 18M

Is the version FileBot 4.7.10 (r5140) still correct?

Re: GPG file in the HEAD repository

Posted: 25 Jun 2017, 10:11
by rednoah
Due to CloudFlare caching, you may be seeing cached content. Just use the update-filebot.sh script once in a while and you'll be fine. You'll get the latest and greatest eventually.

Re: GPG file in the HEAD repository

Posted: 25 Jun 2017, 10:30
by Sheldon
Now it's FileBot 4.7.11 (r5154). Thanks!

Re: GPG file in the HEAD repository

Posted: 07 Aug 2017, 07:56
by Sheldon
If I download

FileBot.jar.xz.gpg 02-Aug-2017 23:40 18M

I still receive r5179. it seems to be the cache problem again.
Can this be somehow be avoided in the future?

Re: GPG file in the HEAD repository

Posted: 07 Aug 2017, 10:02
by rednoah
Unfortunately, the index page and the actual files may be cached differently.

I'd just call the update-filebot script once a week and not check the index page manually. ;)

Re: GPG file in the HEAD repository

Posted: 07 Aug 2017, 10:40
by Sheldon
The check for a new file is automized.
I receive a news in my rss feed if the file was updated.

I fetch it as a Java InputStream from

https://get.filebot.net/filebot/latest/ ... jar.xz.gpg

but I always get r5179.

It's the same for the manual download. Really annoying! :cry:

Re: GPG file in the HEAD repository

Posted: 07 Aug 2017, 15:44
by rednoah
Caching is set to a week, but I also seem to be getting stale content:

Code: Select all

$ curl -I https://get.filebot.net/filebot/latest/FileBot.jar.xz.gpg
HTTP/1.1 200 OK
Date: Mon, 07 Aug 2017 15:43:01 GMT
...
Last-Modified: Mon, 24 Jul 2017 15:38:52 GMT
ETag: "11bf21b-5551203104e40"
CF-Cache-Status: HIT
Expires: Tue, 08 Aug 2017 15:43:01 GMT
...
I'll clear the cache manually for now. This might just a a small CloudFlare bug.

Re: GPG file in the HEAD repository

Posted: 07 Aug 2017, 16:07
by Sheldon
Thanks! Now it's FileBot 4.7.12 (r5192).

Maybe you can have a job clearing the cache after the new version upload.

Re: GPG file in the HEAD repository

Posted: 13 Aug 2017, 11:24
by Sheldon
I received a news about

FileBot.jar.xz.gpg - 07-Aug-2017 08:37

but on the website it's still

FileBot.jar.xz.gpg - 02-Aug-2017 23:40.

What should it be?