Skip to content

Add ppa2pup awk

s243a requested to merge s243a/Pkg:add-ppa2pup_awk into master

Edit: This merge request has been replaced by: Merge Request #6 - add ppa2pup gawk no crypto + (download file name hacks). Changes related to 0setup will be dealt with in a separate merge request.

This change:

  1. provides a gawk alternative to ppa2pup, which is orders of magnitude faster.
  2. removes architecture dependencies related to 0setup
  3. avoids the need for the repo file to exist prior to running "pkg --repo-update"
  4. adds option to used patched version of 0setup
  5. adds option to avoid using 0setup

Addresses the following Issues:

Issue #56- ppa2pup should probably use the deb2pup binary

Issue #71 (closed) pkg: properly call 0setup

Partially addresses the following issues:

Issue #79 (closed) - pkgrc gets reset when calling "pkg --repo-update"

Issue #73 (closed) - ppa2pup alternative approaches

This update is primarily related to issue #73 (closed). However, we can still look at making ppa2pup faster with non gawk approaches. Issue #79 (closed) is partly mitigated because creating a dummy repo file means one less reason for pkgrc to be reset or worse cause an infinite loop (see post)!. Issue #71 (closed) is addressed by adding an environmental variable which will cause pkg to call a patched 0setup wdlkmpx's way. Issue #56 is addressed by making it unnecessary for ppa2pup to call /usr/local/petgetdebdb2pupdb

Related Issues

With the faster gawk version of ppa2pup, speed improvements suggested for ppa2pup, such as using "Using IFS to parse repo/pkg specs" (Issue #65)are less critical. However, issue #65 might be discussing something more general than just converting the debian repo format to the puppy repo format.

Edited by s243a

Merge request reports