[arch-dev-public] Implementing package branches for the svntogit repos

Evangelos Foutras foutrelis at gmail.com
Thu Jul 21 16:53:53 EDT 2011


On 21 July 2011 22:55, Dan McGee <dpmcgee at gmail.com> wrote:
> My only thought is it is hard to capture commits across multiple
> packages this way, or get an overall history but still drill down into
> the package level without hitting the problem we had before. Yes, I
> see master is still present there, but doing any browsing on that
> history is right where we were before.

While it's a valid concern, I've never needed to do that. My goal here
is to be able to quickly see what changed in a package. I frequently
follow the "SVN Entries (trunk)" link on new packages and it was
frustrating to wait a minute to get a log.

> Do you have the script available you used to do this? I would like to
> at least try my "rewrite into subdirctories" hack as it would still
> enable commits to be on multiple packages, and using your script as a
> start point would be great.

If you come up with a relatively straightforward way to implement it,
sticking packages into subdirectories could be preferable. Using
branches, however, gives us constant lookup/traversal time; I'm
guessing the bigger the subdirectory, the more time it'd take to get
the history of a package within (still pretty fast though).

You can get the script from http://pkgbuild.com/~foutrelis/svntogit/.

Thanks for the feedback.


More information about the arch-dev-public mailing list