mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-02 13:43:38 +02:00
Clarify that 'rev' argument in Package is metadata revision
This commit is contained in:
@@ -69,6 +69,7 @@ class Package(XmlModel):
|
||||
|
||||
@classmethod
|
||||
def from_api(cls, apiurl, project, package, *, rev=None):
|
||||
# ``rev`` is metadata revision, not revision of the source code
|
||||
url_path = ["source", project, package, "_meta"]
|
||||
url_query = {
|
||||
"rev": rev,
|
||||
|
Reference in New Issue
Block a user