Is there any advantage (either to me or the Gentoo community) to
continue to use rsync and the rsync pool instead of switching the
rest of my machines to git?
I've been very impressed with the reliability and speed of sync
operations using git they never take more than a few seconds.
On Wed, Apr 27, 2022 at 10:22 AM Grant Edwards
<grant.b.edwards@gmail.com> wrote:
Is there any advantage (either to me or the Gentoo community) to
continue to use rsync and the rsync pool instead of switching the
rest of my machines to git?
I've been very impressed with the reliability and speed of sync
operations using git they never take more than a few seconds.
With git you might need to occasionally wipe your repository to
delete history if you don't want it to accumulate (I don't think
there is a way to do that automatically but if you can tell git to
drop history let me know).
Of course that history can come in handy if you need to revert
something/etc.
If you sync infrequently - say once a month or less frequently, then
I'd expect rsync to be faster.
This is because git has to fetch every single set of changes since
the last sync, while rsync just compares everything at a file level.
[...]
That can add up if it has been a long time.
Bottom line is that I think git just makes more sense these days for
the typical gentoo user, who is far more likely to be interested in
things like changelogs and commit histories than users of other
distros. I'm not saying it is always the best choice for everybody,
but you should consider it and improve your git-fu if you need to.
Oh, and if you want the equivalent of an old changelog, just go into a directory and run "git whatchanged ."
On Wed, Apr 27, 2022 at 10:22 AM Grant Edwards
<grant.b.edwards@gmail.com> wrote:
Is there any advantage (either to me or the Gentoo community) toWith git you might need to occasionally wipe your repository to delete history if you don't want it to accumulate (I don't think there is a
continue to use rsync and the rsync pool instead of switching the
rest of my machines to git?
I've been very impressed with the reliability and speed of sync
operations using git they never take more than a few seconds.
way to do that automatically but if you can tell git to drop history
let me know).
IOW, I want all the changes made during a single "sync" to go into my
local repo as a single commit regardless of how many commits have been
made to the master repo since my previous "sync". I think git can do
that -- whether the emerge sync settings in /etc/portage/repos.conf/gentoo.conf
allow me to tell emerge to tell git to do that is the question.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 302 |
Nodes: | 16 (2 / 14) |
Uptime: | 97:48:52 |
Calls: | 6,766 |
Calls today: | 4 |
Files: | 12,295 |
Messages: | 5,376,382 |
Posted today: | 1 |