--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
this of course works, after the project has been already synced at least once.
What I find less intuitive - how does one sync only the project they
just ran 'cros_workon start xxx' on. Running 'repo sync' in this case
in not a good option - first, it takes long time, and then it might
update other projects which one might want to keep intact.
It would be great to have the ability to match cros_workon and repo
projects, or even better - have cros_workon to repo sync the project
automatically?
cheers,
/v
At first I thought maybe "git pull" would work, because that does work
for other projects, but when starting from minilayout and running "git
pull" from src/platform/<workonproject>, I get:
fatal: No remote repository specified. Please, specify either a URL or a
remote name from which new revisions should be fetched.
(Outside chroot, with an older git, I get "fatal: Where do you want to
fetch from today?")
That's weird.
But each project is a separate git repo, and unless you git cloned it
first, indeed, how does git know what to do?
the sequence
cros_workon start <ebuild name>
repo sync <project name>
works for me, it's just not obvious which <project name> matches a
particular <ebuild name>.
cheers,
/v
equery-${BOARD} which
${PACKAGE_NAME}/home/.../trunk/src/third_party/chromiumos-overlay/chromeos-base/chromeos-wm/chromeos-wm-9999.ebuild
/home/.../trunk/src/third_party/chromiumos-overlay/chromeos-base/chromeos-wm/chromeos-wm-0.0.1-r134.ebuild
git
repo it's under):ebuild-${BOARD} `equery-${BOARD} which ${PACKAGE_NAME}
` info
CROS_WORKON_SRCDIR="/home/.../trunk/src/platform/window_manager"
CROS_WORKON_PROJECT="window_manager"
ALL_PACKAGES=`./cros_workon --board=${BOARD} list --all`
for package in ${ALL_PACKAGES}; doDoug, this is a great hint, thank you.
> ---
> NOTE: One downside of doing a 'repo sync' of just the project that you
> started to work on is that it is probably going to be a different version
> than the rest of your source code (since you synced everything else a while
> ago and you synced this package now).
Of course, one is supposed to know what he is doing, and how much
ahead the new package might be.
The downside of repo sync across the board is that in case one has a
few other projects checked out and with pending changes, the sync
fails, or if the changes in those other projects have been committed
but not finalized yet, the unwanted sync messes up the changes.
So, there is a fine line here.
cheers,
/v
--
Just wanted to point out that here is a repo-discuss mailing list.
Feel free to crosspost.
http://groups.google.com/group/repo-discuss