-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wrong help text for osc token #1547
Comments
I don't think it makes much sense to take the working copy into account... https://openbuildservice.org/help/manuals/obs-user-guide/cha.obs.authorization.token#id-1.5.10.18.4 |
Most use cases in that doc do actually refer to a prj/pkg. There is one case for a generic token. The description is not clear what that means in practice. Such generic token could be created outside of a working copy, like |
It just a scope. A generic token can be used to "operate" on any project/package you are allowed to run this token's "operation" on. A token scoped to a project/package will always use this project/package to run the token's "operation" on. |
So, how do we proceed here? |
I agree with @hennevogel, we shouldn't take the working copy into account. |
osc 0.182.1 has incorrect help text for
osc token --help
. It suggests that bothprj
andpkg
are optional. But just runningosc token --create
in a working copy of a package does not create a token for that prj/pkg target. It will be a token without a "target". Maybe such tokens are useful, maybe such tokens are useless. Who knows.The text was updated successfully, but these errors were encountered: