Pete Zaitcev ([info]zaitcev) wrote,
@ 2008-02-03 10:48:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:git, x11

Centralized git at Xorg

One side effect of the multiply-repo organization of Xorg is that I cannot clone a local repository without editing git_xorg.sh. In kernel, I usually have just one repository which tracks Linus (linux-2.6), then clone and blow away repositories as needed (linux-2.6-ub, linux-2.6.24-rc7, linux-2.6.23-253424). In X, git_xorg.sh has a variable on top which encodes the parent, which is not so bad. But still... Obviously they just do it differently, but how? Keith was saying something about extensive use of branches, so maybe that's it.

Also, since we're on topic, git_xorg.sh itself is not in the git. Now that's really odd, because how do I know if it's changed? I don't even remember now whence I downloaded it.

P.S. Another thing, before blowing away a repo, I would look quickly with "git diff" if anything interesting was left in it. Needless to say, this is impossible in Xorg, so it's just more evidence that they never clone anything.



(Post a new comment)

git_xorg.sh?
[info]dbn3
2008-02-04 08:23 pm UTC (link)
I think you meant git_xorg.sh, and it should be in git. There are some other scripts, but they're for building from git.

http://cgit.freedesktop.org/xorg/util/modular/tree/

Do you want to pull every module? I'd imagine that you'd only want to pull a couple modules. I don't think anyone really pulls the whole distribution at once.

(Reply to this)


[info]fooishbar
2008-03-05 05:30 pm UTC (link)
You don't want to compile every module every time. Just compile what you need (have changed, etc).

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…