GPG file in the HEAD repository

Any questions? Need some help?
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post 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.
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: GPG file in the HEAD repository

Post 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 ?
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post 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"
Leokosta
Posts: 7
Joined: 08 Apr 2017, 18:25

Re: GPG file in the HEAD repository

Post 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.
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: GPG file in the HEAD repository

Post 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..
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: GPG file in the HEAD repository

Post 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.
User avatar
rednoah
The Source
Posts: 18831
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: GPG file in the HEAD repository

Post by rednoah »

You can get the revision for each jar like this:

Code: Select all

java -jar /path/to/FileBot.jar -version
:idea: Please read the FAQ and How to Request Help.
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: GPG file in the HEAD repository

Post 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!
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post 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
User avatar
rednoah
The Source
Posts: 18831
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: GPG file in the HEAD repository

Post by rednoah »

Fixed.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post by Sheldon »

Now it works fine! Thanks!
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post by Sheldon »

Hi,

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

Kind regards,

Sheldon
User avatar
rednoah
The Source
Posts: 18831
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: GPG file in the HEAD repository

Post by rednoah »

:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post by Sheldon »

User avatar
rednoah
The Source
Posts: 18831
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: GPG file in the HEAD repository

Post 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.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post by Sheldon »

Thanks!
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post 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?
User avatar
rednoah
The Source
Posts: 18831
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: GPG file in the HEAD repository

Post 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.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post by Sheldon »

Now it's FileBot 4.7.11 (r5154). Thanks!
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post 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?
User avatar
rednoah
The Source
Posts: 18831
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: GPG file in the HEAD repository

Post 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. ;)
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post 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:
User avatar
rednoah
The Source
Posts: 18831
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: GPG file in the HEAD repository

Post 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.
:idea: Please read the FAQ and How to Request Help.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post 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.
User avatar
Sheldon
Posts: 188
Joined: 14 Apr 2014, 14:39

Re: GPG file in the HEAD repository

Post 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?
Post Reply