nextVersion(repos,
db,
troveNames,
sourceVersion,
troveFlavor,
targetLabel=None,
alwaysBumpCount=False)
| source code
|
Calculates the version to use for a newly built trove which is about
to be added to the repository.
- Parameters:
repos (NetworkRepositoryClient) - repository proxy
troveNames (str) - name(s) of the trove(s) being built
sourceVersion (Version) - the source version that we are incrementing
troveFlavor (deps.Flavor) - flavor of the trove being built
alwaysBumpCount (bool) - if True, then do not return a version that matches an existing
trove, even if their flavors would differentiate them, instead,
increase the appropriate count.
|