Pint - command line manager of portable apps (beta)

Share interesting information or links related to portable apps here.
Message
Author
Bonaparte
Posts: 18
Joined: Sat May 07, 2016 11:04 am

Re: Pint - command line manager of portable apps (beta)

#31 Post by Bonaparte » Tue Jan 09, 2018 6:39 pm

Made some updates. What's new:
- Separate directory for dependencies.
- pint test - tests app rules and files.
- 'pint update' is retired, my database is now hosted online and maintained in a separate repository. All rules are updated and checked with 'pint test'.
- Specific site support (Portable Apps, FileHippo) was removed as rarely used.
- For the time being, shimgen from Chocolatey is now used for shim generation. Fire 'pint shims' to recreate all shim files.
- Finally added some undocumented features to README.

User avatar
Midas
Posts: 4294
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pint - command line manager of portable apps (beta)

#32 Post by Midas » Mon Jan 15, 2018 4:39 am

After last update and running 'pint self-update', Pint complained about missing dependency xidel, which it said it would install automatically, but then couldn't because it missed '7z', too.

After looking at the code and some trial and error, I was able to surmise that '7z.exe' and '7z.dll' needed to go into '.\deps\7z' (not '7-zip' as created by Pint in the 'Apps' folder), only to be greeted with a long string of errors when I executed 'pint outdated'... :(

Code: Select all

Checking for updates...
1by1            Unable to extract the link from http://www.filehorse.com/download-1by1/download/
7-zip           Unable to extract the link from http://www.7-zip.org/download.html
bencode-editor  Unable to extract the link from https://sites.google.com/site/ultimasites/bencode-editor
bootice         Unable to extract the link from https://sites.google.com/site/gbrtools/home/software/bootice-portable/bootice-downloads
cuetools        Unable to extract the link from http://www.cuetools.net/wiki/CUETools_Download
curl            Unable to extract the link from https://curl.haxx.se/download.html
eac             Unable to extract the link from http://www.exactaudiocopy.de/en/index.php/weitere-seiten/download-from-alternative-servers-2/
easybcd         Unable to extract the link from https://neosmart.net/Download/GetExpiringLink?productId=1
hxd             UP TO DATE
inifile         UP TO DATE
innoextract     Unable to extract the link from https://github.com/dscharrer/innoextract/releases/latest
keepass         Unable to extract the link from http://keepass.info/download.html
kitty           Unable to extract the link from http://www.filehorse.com/download-kitty/download/
mp3directcut    Unable to extract the link from http://www.filehorse.com/download-mp3directcut/download/
mp3tag          Unable to extract the link from http://www.mp3tag.de/en/dodownload.html
mpc-hc          Unable to extract the link from https://mpc-hc.org/downloads/
nircmd          UP TO DATE
qtranslate      Unable to extract the link from https://quest-app.appspot.com/download
resophnotes     Unable to extract the link from http://www.resoph.com/ResophNotes/Welcome.html
rufus           Unable to extract the link from http://rufus.akeo.ie/
sumatrapdf      OUTDATED
tau-analyzer    UP TO DATE
telegram        OUTDATED
unxutils        The operation has timed out
wavpack         Unable to extract the link from http://www.wavpack.com/downloads.html
wget            UP TO DATE
winrar          Unable to extract the link from http://www.rarlab.com/download.htm
winscp          Unable to extract the link from https://sourceforge.net/projects/winscp/rss?path=/WinSCP
xidel           OUTDATED
yap             UP TO DATE
[/quote]

Bonaparte
Posts: 18
Joined: Sat May 07, 2016 11:04 am

Re: Pint - command line manager of portable apps (beta)

#33 Post by Bonaparte » Mon Jan 15, 2018 11:33 am

Did not expect Xidel update 0.9 -> 0.9.6 to break the workflow, sorry. Fixed.

I'm working on automatic conversion of other databases.
PortableApps.com was easy, we only have to keep the Data directory. Next in line SyMenu and Lupo PenSuite.

User avatar
Midas
Posts: 4294
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pint - command line manager of portable apps (beta)

#34 Post by Midas » Fri Feb 02, 2018 6:05 am

Here's my latest error batch... Xidel won't update, too.

Code: Select all

easybcd         Unable to extract the link from https://neosmart.net/Download/Ge
tExpiringLink?productId=1
hxd             UP TO DATE
[...]
nircmd          UP TO DATE
qtranslate      OUTDATED
resophnotes     Unable to find 'resophnotes' in the database.
rufus           UP TO DATE
sumatrapdf      UP TO DATE
tau-analyzer    The request was aborted: Could not create SSL/TLS secure channel.
telegram        UP TO DATE
unxutils        The operation has timed out
wavpack         UP TO DATE
wget            The remote server returned an error: (404) Not Found.
winrar          UP TO DATE
winscp          The operation has timed out
xidel           OUTDATED
yap             UP TO DATE

Bonaparte
Posts: 18
Joined: Sat May 07, 2016 11:04 am

Re: Pint - command line manager of portable apps (beta)

#35 Post by Bonaparte » Fri Feb 02, 2018 10:08 am

EasyBCD hidden their download link behind cookie autorization, so they are out until another reliable link is found.
The only Resophnotes download link died for a few days (expired domain), added it back.
Xidel updates fine on my side. If not used, it can be removed from /apps, Pint now has its own copy in /deps.

"The operation has timed out" means slow/ddosed website, retry should be sufficient.

For database maintenance, I've created a separate repository https://github.com/vensko/pint-packages
I'm building web UI, which will allow to browse packages and report broken ones, but for now better report broken packages on Github. Or push fixes :)

It's a continuous work, there are 1598 packages at the moment (including SPS database), and they will break from time to time, even SPS has broken links.
Therefore, having your own set of packages won't harm either. There are now two ways for that:
- packages.user.ini
- or create a packages directory near pint.cmd and add rules there, one app per file.

Code: Select all

pint test
will test whole db for broken links.

Code: Select all

pint test "(path to)/packages.user.ini"
tests local rules.

Code: Select all

pint test wget
tests a single package.

User avatar
Midas
Posts: 4294
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pint - command line manager of portable apps (beta)

#36 Post by Midas » Wed Apr 11, 2018 8:57 am

Whoa! Massive update. :shock:

Pint now able to download/update 1255 portable packages by my count (full raw list at https://pastebin.com/BNertju0), including most Nirsoft, Sterjo and Sysinternals utilities. Impressive!

@Bonaparte: do you plan to ad some kind of version info for Pint itself? What about history/changelog?

User avatar
Midas
Posts: 4294
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pint - command line manager of portable apps (beta)

#37 Post by Midas » Tue May 22, 2018 3:28 am

'Pint outdated' is returning not found on every package previously downloaded. :(

Bonaparte
Posts: 18
Joined: Sat May 07, 2016 11:04 am

Re: Pint - command line manager of portable apps (beta)

#38 Post by Bonaparte » Tue May 22, 2018 4:39 am

Midas wrote:
Tue May 22, 2018 3:28 am
'Pint outdated' is returning not found on every package previously downloaded. :(
Messed up my server, will be ok soon.

User avatar
Midas
Posts: 4294
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pint - command line manager of portable apps (beta)

#39 Post by Midas » Sat Jun 02, 2018 7:46 am

Thanks. Everything working currently. 8)

Pint custom INI format could use a little more visibility:

User avatar
Midas
Posts: 4294
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pint - command line manager of portable apps (beta)

#40 Post by Midas » Tue Jun 05, 2018 3:13 am

I have created my first custom package INI for Rizonesoft Notepad3 -- I'm posting it here for inspection...
  1. I created a 'packages' folder next to 'pint.cmd';
  2. Inside I placed 'notepad3.ini' with the following content;

    Code: Select all

    [notepad3]
    dist = https://github.com/rizonesoft/Notepad3/releases/latest
    link = .zip, !paf
  3. I then executed '> pint install notepad3';
  4. Pint correctly downloaded the ZIP package with both 32 and 64-bit non-PAF portables;
  5. It also extracted them, but stopped short of further extracting the program files...

Bonaparte
Posts: 18
Joined: Sat May 07, 2016 11:04 am

Re: Pint - command line manager of portable apps (beta)

#41 Post by Bonaparte » Sun Jul 15, 2018 9:12 pm

Hi, sorry for the late response. The header '[notepad3]' is not required in the single-file format, although it shoudn't break anything.

As for cascaded unpacking, it is not implemented yet.

User avatar
Midas
Posts: 4294
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pint - command line manager of portable apps (beta)

#42 Post by Midas » Mon Jul 16, 2018 3:54 am

Thanks anyway. I gather I was correct in assuming that '!' is the negate operator in file name parsing, then...

Post Reply