Am Donnerstag, 1. November 2012, 15:56:08 schrieb Adam Spiers:
- configure 'submitrequest_on_accept_action = update' in ~/.oscrc
(BTW I can't find documentation for this option anywhere except
for comments in the config file template. Once you delete them,
the only way of retrieving them is to read the source :-/ )
- osc bco $prj $pkg
- hack on home:$me:$prj/$pkg, test, hack, test etc.
- commit to home:$me:$prj/$pkg
- submitrequest to $prj/$pkg
- submitrequest gets accepted
- wait a couple of months for $prj/$pkg to get updated by other people
At this point, I have numerous questions:
1. What is the state of home:$me:$prj/$pkg server-side?
2. Does it automatically contain all the latest changes from the upstream
$prj/$pkg? i.e. if I do 'osc up' on my working copy, will I get them?
No and yes.
3. If so, why? - how does this work?
On the server (and also on your local checkout in un-expanded mode) nothing
changes. However, an "osc up" usually runs in expanded mode and that means it
tries to merge the changes from the linkes package as long as no versioned
link is used. The same happens when a build is starting.
4. If not, presumably there is some equivalent of
'osc pull' which
applies to branches rather than linkpac'd packages?
"osc pull" works on branches!?
5. How would I cherry-pick some but not all of the
into my branch?
We have no cherry-pick function. You can of course show the diff and apply it
to your copy.
6. Is any of this workflow documented anywhere?
be the obvious place for it, but it's not there yet.
I do not understand what exactly you want to achieve at all.
So, trying to reverse-engineer this, I see that my
working copy of
contains the following line in .osc/_files:
and also 'osc log' shows:
r9 | buildservice-autocommit | 2012-07-27 13:35:33 | b01017819c52ddd0eabd72fd7d5d3c64
| unknown | rq129093
baserev update by copy to link target
Looking in my working copy of openSUSE:Tools/obs-service-tar_scm, I
see that .osc/_files contains:
So 'lsrcmd5' in the branch points to the baserev update autocommit,
and 'srcmd5' points to the directory revision of the upstream project.
But I'm still not really any wiser - what does baserev point to, how
is it used?
It is just informational, it tells on which former source change base your
branch got created/updated the last time. This is important for the classic
3-way merging of sources like any VCS is doing it.
SUSE Linux Products GmbH
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-buildservice+owner(a)opensuse.org