Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rsync patches into portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
drevilt
n00b
n00b


Joined: 13 Feb 2011
Posts: 3

PostPosted: Sun Feb 13, 2011 6:09 pm    Post subject: rsync patches into portage Reply with quote

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
View user's profile Send private message
Zanaffar
n00b
n00b


Joined: 22 Sep 2010
Posts: 6

PostPosted: Sun Feb 13, 2011 6:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
drevilt
n00b
n00b


Joined: 13 Feb 2011
Posts: 3

PostPosted: Sun Feb 13, 2011 6:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zanaffar
n00b
n00b


Joined: 22 Sep 2010
Posts: 6

PostPosted: Sun Feb 13, 2011 6:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
drevilt
n00b
n00b


Joined: 13 Feb 2011
Posts: 3

PostPosted: Sun Feb 13, 2011 6:59 pm    Post subject: Reply with quote

okay thanks i will look through this http://overlays.gentoo.org/ hopefully there is something helpful.
Back to top
View user's profile Send private message
Zanaffar
n00b
n00b


Joined: 22 Sep 2010
Posts: 6

PostPosted: Sun Feb 13, 2011 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 465
Location: Hokkaido Japan

PostPosted: Sun Mar 04, 2012 12:08 pm    Post subject: I'd suggest opening a bug ticket Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum