Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416613 - app-arch/hardlink++ removal request (in favour of app-arch/hardlink)
Summary: app-arch/hardlink++ removal request (in favour of app-arch/hardlink)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-19 10:54 UTC by Samuli Suominen (RETIRED)
Modified: 2012-06-24 06:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
rsync exclusion readme stuff (hardlink-0.2.0.ebuild.patch,416 bytes, patch)
2012-05-20 16:43 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2012-05-19 10:54:26 UTC
app-arch/hardlink++ is dead project and the upstream of it moved to Python and called it "pyhardlink" which is also dead and hasn't been touched since 2010

see these as proof,

http://www.sodarock.com/hardlink/

http://code.google.com/p/hardlinkpy/source/detail?r=1be1ba7ea38917e6b52c189ef625b05b4e7e4d52

some discussion at bug 337250 too

but we have app-arch/hardlink which is maintained by Debian and is active

so lets lastrite app-arch/hardlink++
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-05-19 16:03:25 UTC
Can somebody throw together a package for pyhardlink? The debian hardlink didn't have all the features of hardlink++.
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-05-19 16:26:44 UTC
(In reply to comment #1)
> Can somebody throw together a package for pyhardlink? The debian hardlink
> didn't have all the features of hardlink++.

Did you notice app-arch/hardlink-fedora yet? But absolutely, if neither hardlink nor hardlink-fedora does everything you need I'll wrap up yet another package. It's shame though, since pyhardlink is a dead project as well -- no releases even, last commit 2-3 years ago
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-05-19 21:10:59 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Can somebody throw together a package for pyhardlink? The debian hardlink
> > didn't have all the features of hardlink++.
> 
> Did you notice app-arch/hardlink-fedora yet? But absolutely, if neither
> hardlink nor hardlink-fedora does everything you need I'll wrap up yet
> another package. It's shame though, since pyhardlink is a dead project as
> well -- no releases even, last commit 2-3 years ago

Scratch this. 

As per IRC conversation, I'll wait for you to test =app-arch/hardlink-0.2.0 (the C rewrite) first.   Forget about the 0.1.x series.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-05-20 16:11:29 UTC
It works, but the results seem to be very different.
Can we please explicitly note the rsync exclusion is needed as an argument now?

pyHardlink run:
# ./hardlink.py  -n -f -c -t 2011*
Directories           : 32807
Regular files         : 2504524
Comparisons           : 148287
Hardlinked this run   : 122246
Total hardlinks       : 2441582
Bytes saved this run  : 2371523311459 (2208.653 gibibytes)
Total bytes saved     : 10036032362012 (9346.783 gibibytes)
Total run time        : 32327.741466 seconds

Peaked at ~200mb of memory.

hardlink-0.2.0 run:

peaked at ~600mb of ram

# hardlink  -n -f -c -t 2011* 
Mode:     dry-run
Files:    2504524
Linked:   100434 files
Compared: 94757608 files
Saved:    1861.81 GiB
Duration: 13756.74 seconds

Notice that both of these had the same arguments, including dry-run, so that the y should have given the same results.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-05-20 16:36:03 UTC
(In reply to comment #4)
> It works, but the results seem to be very different.
> Can we please explicitly note the rsync exclusion is needed as an argument
> now?

You mean that "-t 2011*", right?

> # hardlink  -n -f -c -t 2011*
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2012-05-20 16:43:07 UTC
Created attachment 312375 [details, diff]
rsync exclusion readme stuff

@robbat2: I'm still not sure what exactly you want to say, but to avoid polluting the emerge output with something obscure, I'd use this
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-05-20 17:15:08 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > It works, but the results seem to be very different.
> > Can we please explicitly note the rsync exclusion is needed as an argument
> > now?
> You mean that "-t 2011*", right?
No.

-x '^\..*\.\?{6,6}$'
is the regex that hardlink.py uses for excluding rsync files.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2012-05-20 17:42:06 UTC
(In reply to comment #7)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > It works, but the results seem to be very different.
> > > Can we please explicitly note the rsync exclusion is needed as an argument
> > > now?
> > You mean that "-t 2011*", right?
> No.
> 
> -x '^\..*\.\?{6,6}$'
> is the regex that hardlink.py uses for excluding rsync files.

OK, done:

http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/hardlink/hardlink-0.2.0.ebuild?r1=1.2&r2=1.3

Is that OK?

And thanks Robin for putting up with me not following you that good with this one :-)
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-05-20 18:24:21 UTC
(In reply to comment #8)
> OK, done:
> http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-arch/hardlink/hardlink-0.
> 2.0.ebuild?r1=1.2&r2=1.3
> Is that OK?
Yup, that parts looks ok.

> And thanks Robin for putting up with me not following you that good with
> this one :-)
I don't mind the 2.4x speedup at all, but I'm still concerned about the difference in results.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2012-06-24 06:17:55 UTC
done