Ticket #68 (closed enhancement: wontfix)

Opened 3 years ago

Last modified 17 months ago

Deltup support

Reported by: eternaleye@… Owned by: ciaranm
Priority: IfSomeoneSendsAPatch Milestone:
Component: clients/paludis Version: 0.16.2
Keywords: Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

Fetcher and companion executable to support deltup.

Attachments

dohttp Download (2.3 KB) - added by eternaleye@… 3 years ago.
dohttp fetcher which references a modified getdelta.sh
getdelta-paludis.sh Download (29.5 KB) - added by eternaleye@… 3 years ago.
A modified getdelta.sh script that plays nice with paludis and --safe-resume
dohttp.2 Download (2.3 KB) - added by eternaleye@… 3 years ago.
1st update: Can ANYONE tell me why the heck paludis keeps barfing line 46?!? kwrite's code folding likes it.
dohttp.3 Download (2.3 KB) - added by eternaleye@… 3 years ago.
2nd update, bug free. As of now, getdelta-paludis.sh is not quite working though
dohttp.4 Download (1.7 KB) - added by eternaleye@… 3 years ago.
Finally, a WORKING one!
getdelta-paludis.2.sh Download (29.7 KB) - added by eternaleye@… 3 years ago.
A getdelta.sh that respects (as best I could) safe-resume
dohttp.5 Download (2.6 KB) - added by meka 3 years ago.
Added USE_GETDELTA. Currently, gentdelta downloads everything to /usr/portage/distfiles, so sync trough tar+http doesn't work. Put something like if [ ! -z "${PN}"]; then; export USE_GETDELTA="yes"; fi to fix this.
dohttp.6 Download (2.7 KB) - added by meka 3 years ago.
-z $PN checking moved to dohttp. All you have to do is set USE_GETDELTA in /etc/paludis/bashrc
dohttp.7 Download (3.7 KB) - added by ony 2 years ago.
added $GETDELTA_MIN_SIZE (in bytes) to allow skipping deltup on small files

Change History

Changed 3 years ago by eternaleye@…

dohttp fetcher which references a modified getdelta.sh

Changed 3 years ago by eternaleye@…

A modified getdelta.sh script that plays nice with paludis and --safe-resume

Changed 3 years ago by anonymous

NOTE: This is controlled by the environment variable $DELTUP. If the variable is unset, it fetches normally with wget. If it is set, it must be set to the absolute pathname of the modified getdelta script. The script can reside wherever you like.

Changed 3 years ago by eternaleye@…

line 856 in getdelta-paludis.sh needs -O (capital o) between $FETCH and $DEST_FILE

Changed 3 years ago by eternaleye@…

line 462 in getdelta-paludis.sh needs .-PARTIAL- appended to it

Changed 3 years ago by eternaleye@…

1st update: Can ANYONE tell me why the heck paludis keeps barfing line 46?!? kwrite's code folding likes it.

Changed 3 years ago by eternaleye@…

2nd update, bug free. As of now, getdelta-paludis.sh is not quite working though

Changed 3 years ago by eternaleye@…

Turns out I was going at it all wrong. Uploading WORKING stuff now!

Changed 3 years ago by eternaleye@…

Finally, a WORKING one!

Changed 3 years ago by eternaleye@…

A getdelta.sh that respects (as best I could) safe-resume

Changed 3 years ago by eternaleye@…

Only two remaining kinks: 1.) It fails to open the log file. May be due to me running it via sudo from a non-root account. Setting the logfile to /dev/null makes it stop complaining (but don't forget to turn off log-file deletion if you do that). 2.) It stops trying if it gets a DELTUP-QUEUED, unsure as to why. It complains about TIMEOUT being exceeded, which is odd as I never modified it. Also, I moved the config dir for the safe-resume-aware one to /etc/deltup-paludis/, so that it can be configured separately from the non-safe-resume-aware one. Built from version 7.0 of getdelta and version 0.20.1 of paludis.

Changed 3 years ago by meka

Added USE_GETDELTA. Currently, gentdelta downloads everything to /usr/portage/distfiles, so sync trough tar+http doesn't work. Put something like if [ ! -z "${PN}"]; then; export USE_GETDELTA="yes"; fi to fix this.

Changed 3 years ago by meka

-z $PN checking moved to dohttp. All you have to do is set USE_GETDELTA in /etc/paludis/bashrc

Changed 2 years ago by ony

added $GETDELTA_MIN_SIZE (in bytes) to allow skipping deltup on small files

Changed 17 months ago by ciaranm

  • status changed from new to closed
  • distribution set to Gentoo
  • resolution set to wontfix

Having reviewed the deltup code, I don't think we should be supporting it...

Note: See TracTickets for help on using tickets.