[Users] GetComponents git-repos vs repos
Eric Seidel
eric at eseidel.org
Tue Jun 15 10:37:22 CDT 2010
Hi all,
Last night I made a change to GetComponents that had been requested by a few people; it now clones git, hg, and darcs repos into a single "repos" directory instead of "xxx-repos". I think this is a good change as it removes some clutter and is more tool-agnostic, but unfortunately it is not backwards-compatible. If you try to update ET with the new GetComponents it will error due to the repos directory not existing.
There are a few possible solutions I can see, and I'd like your feedback:
1) Everyone could do a clean checkout of ET, and there would be no further issues as all git repos will be cloned into the repos folder. This could be very inconvenient for some people though.
2) I could have GetComponents move existing git/hg/darcs repos into a "repos" folder and then fix the symlinks. This could be dangerous though, as there's always a chance that some files could be clobbered in the process.
3) Erik suggested that I could add some logic to GetComponents for now that will just create symlinks from git-repos etc to repos. That way existing checkouts of ET will be provided with the new repos folder, but without the danger of automatically moving files around. Then at some point in the future we would remove that functionality and enforce the new structure. On the other hand, this would increase clutter in the root directory.
Let me know what you think about these ideas, or if you have other suggestions.
Thanks,
Eric
More information about the Users
mailing list