View previous topic :: View next topic |
Author |
Message |
drevilt n00b
Joined: 13 Feb 2011 Posts: 3
|
Posted: Sun Feb 13, 2011 6:09 pm Post subject: rsync patches into portage |
|
|
hi,
i am very new to gentoo and i wanted to ask whether the current rsync ebuilds could have more options for different patches the official site supplies. these patches include the IMO very useful 'copy-devices' patch.
this would allow you to rsync block devices for example in this way:
Code: | $ rsync --devices -e "ssh -l root" laptop:/dev/sda laptop-sda.img |
but without this patch you would get
Code: | skipping non-regular file "sda" |
whether you have the --devices argument applied or not.
there are many more useful patches wich i have not explored yet.
i could write the changes to the ebuilds, so that the patches would be selectable via use flags or other flags but my question is whether it would make sense and/or get merged, or even would unstabilize the ebuild.
thanks. |
|
Back to top |
|
|
Zanaffar n00b
Joined: 22 Sep 2010 Posts: 6
|
Posted: Sun Feb 13, 2011 6:31 pm Post subject: |
|
|
Your best option would be to look into local overlays rather then mess with the portage tree directly.
Portage for the most part overwrites any changes to itself when its synced. |
|
Back to top |
|
|
drevilt n00b
Joined: 13 Feb 2011 Posts: 3
|
Posted: Sun Feb 13, 2011 6:37 pm Post subject: |
|
|
i know. i would have implemented this in local overlays for myself then, but i wanted to share those changes to others. thats why i am asking. but it would only make sense if the ebuilds would not get unstable after those changes. |
|
Back to top |
|
|
Zanaffar n00b
Joined: 22 Sep 2010 Posts: 6
|
Posted: Sun Feb 13, 2011 6:53 pm Post subject: |
|
|
As far as i know at least you would probably have to submit the patches to the developers themselves and hope they get merged into the portage tree.
You could also find a way to post your custom overlay online, unfortunately i have no knowledge on how to do that myself.
Might also want to check out the existing overlays first there might be one out there already using those patches. |
|
Back to top |
|
|
drevilt n00b
Joined: 13 Feb 2011 Posts: 3
|
Posted: Sun Feb 13, 2011 6:59 pm Post subject: |
|
|
okay thanks i will look through this http://overlays.gentoo.org/ hopefully there is something helpful. |
|
Back to top |
|
|
Zanaffar n00b
Joined: 22 Sep 2010 Posts: 6
|
Posted: Sun Feb 13, 2011 7:11 pm Post subject: |
|
|
I tend to use this site myself for searching through overlays http://gpo.zugaina.org/ easier then looking through overlays.gentoo.org |
|
Back to top |
|
|
newtonian Guru
Joined: 19 Jan 2005 Posts: 465 Location: Hokkaido Japan
|
Posted: Sun Mar 04, 2012 12:08 pm Post subject: I'd suggest opening a bug ticket |
|
|
The --copy-devices patch would be great to have in gentoo rysnc. I'd suggest opening a bug ticket in bugs.gentoo.org and adding your ebuild there as a submission request. It looks like it has been in Fedora stable for 3 years now. You might want to add this link as well so the devs know that you aren't asking for anything too alpha.
https://bugzilla.redhat.com/show_bug.cgi?id=494313
https://bugs.gentoo.org
Looking forward to trying out your ebuild.
Cheers, |
|
Back to top |
|
|
|