Conversation
Using `osc vc` requires login to OBS API if first `osc` call and `osc vc` is normally searching for `vc` in $PATH or has a fallback to `/usr/lib/build/vc`. SEE https://github.com/openSUSE/osc/blob/master/osc/conf.py#L1312
perlpunk
left a comment
There was a problem hiding this comment.
I recently stumbled upon that as well.
But one question - where will vc get the email address and name for the changes line header from?
|
I was also thinking that the |
8b30678 to
3d6c2af
Compare
See also openSUSE/cpanspec#54 which changes `osc vc` to just `vc`.
|
We also need to remember to add the dependency sccs to the spec file: https://build.opensuse.org/package/show/devel:languages:perl/cpanspec |
See also openSUSE/cpanspec#54 which changes `osc vc` to just `vc`.
|
Hm, actually /usr/lib/build/vc (a shell script) seems to be a different script than /usr/bin/vc (binary). Also, when calling It needs the Calling |
Using `osc vc` requires login to OBS API if first `osc` call and `osc vc` is normally searching for `vc` in $PATH or has a fallback to `/usr/lib/build/vc`. SEE https://github.com/openSUSE/osc/blob/master/osc/conf.py#L1312
Possible but useless. (IMHO) osc uses /usr/lib/{,obs-}build/vc, so Here some experiments with pythons
Just another (non-critical) try to guess
I see - AFAICS
Sorry for confusion - I fixed my PR so it does not search Seems like Even if the ENV variables VC_REALNAME/VC_MAILADDR are already set I now have a better understanding why |
|
Even |
|
So far I found the following places where
Please feel free to enhance the list |
Calling
vcdirectly instead of usingosc vcas wrapper.cpanspec should not require a configured
osc.oscis showing a cli wizard to configure login into a OBS instance at first call.This is not required by
cpanspecexcept for thevccommand.