Pint - command line manager of portable apps (beta)

Submit command line tools that you find here.
Message
Author
Bonaparte
Posts: 21
Joined: Sat May 07, 2016 11:04 am

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

#31 Post by Bonaparte »

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: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

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

#32 Post by Midas »

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: 21
Joined: Sat May 07, 2016 11:04 am

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

#33 Post by Bonaparte »

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: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

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

#34 Post by Midas »

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: 21
Joined: Sat May 07, 2016 11:04 am

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

#35 Post by Bonaparte »

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: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

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

#36 Post by Midas »

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: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

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

#37 Post by Midas »

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

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

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

#38 Post by Bonaparte »

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: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

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

#39 Post by Midas »

Thanks. Everything working currently. 8)

Pint custom INI format could use a little more visibility:

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

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

#40 Post by Midas »

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: 21
Joined: Sat May 07, 2016 11:04 am

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

#41 Post by Bonaparte »

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: 6705
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

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

#42 Post by Midas »

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

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

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

#43 Post by Midas »

Tried an update just now and got only a bunch of errors...

As the last commit was back in February, I'm assuming Pint development/support has stalled. :|

EDIT: it's now getting close to a year since the last Pint commit, I believe we can safely assume all development has stopped. I recommend anyone interested have a look at Powershell-based Scoop:


Image

freakazoid
Posts: 1212
Joined: Wed Jul 18, 2007 5:45 pm

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

#44 Post by freakazoid »

Midas wrote: Tue Sep 10, 2019 12:16 pmI recommend anyone interested have a look at Powershell-based Scoop:

Thanks Midas!

With the release of Winget, I had to come back to Pint and this thread.

I think portable apps would definitely benefit from a command-line update app. I'm not sure if Winget will ever properly support portable apps, but if they don't, hopefully third-party alternatives will pop up.

Pint was always a little problematic to use in my eyes. I'll give Scoop a try when I have some time.
Last edited by freakazoid on Thu Jun 04, 2020 9:36 pm, edited 1 time in total.
is it stealth? ;)

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

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

#45 Post by Midas »

Although not readily portable itself, Scoop appears to favor portable versions of software, as you'll be sure to notice during the updating procedure...

As illustration, here's the output of my scoop list command:

Code: Select all

  7zip 19.00
  adb 30.0.0
  cacert 2020-01-01
  caffeine 1.81 [extras]
  cudatext 1.98.2.0 *hold* [extras]
  dark 3.11.2
  dismplusplus 10.1.1001.10 [extras]
  geekuninstaller 1.4.7.142 [extras]
  git 2.27.0.windows.1
  hxd 2.4.0.0 [extras]
  innoextract 1.8
  innounp 0.49
  keepass 2.45 [extras]
  kitty 0.73.2.16 [extras]
  memreduct 3.3.5 [extras]
  mp3directcut 2.29 [extras]
  mp3tag 3.01 [extras]
  mpc-hc-fork 1.9.3 [extras]
  nircmd 2.86
  notepad3 5.20.414.1 [extras]
  pandoc 2.9.2.1
  pdf-xchange-editor 8.0.339.0 [extras]
  qtranslate 6.7.5.1 [extras]
  resource-hacker 5.1.7 [extras]
  rufus 3.10 [extras]
  simplewall 3.1.2 [extras]
  sumatrapdf 3.2 [extras]
  tagscanner 6.1.4 [extras]
  telegram 2.1.6 [extras]
  trid 2.24-20.06.01
  unlocker 1.9.0 [extras]
  wget 1.20.3
  winrar 5.90 [extras]
  winscp 5.17.6 [extras]
FYI, that '[extras]' tag denotes software coming from the so-called "Extras bucket"; be sure to add it with a 'scoop bucket add extras' command.

Moreover, I'd advise you to move the default scoop download folder to some location on you portables folder -- see scoop help for more info.

Post Reply