cachito icon indicating copy to clipboard operation
cachito copied to clipboard

Documentation : Packages and Package Manager Questions

Open rnc opened this issue 5 years ago • 4 comments

https://github.com/release-engineering/cachito#feature-support lists package managers of gomod | npm | pip but https://github.com/release-engineering/cachito#git-submodule implies git-submodule is also a package manager. Is the table correct?

Secondly https://github.com/release-engineering/cachito#git-submodule mentions packages but does not fully describe what they are, what the format is and how they should be used. Can the documentation be improved here?

rnc avatar Dec 11 '20 10:12 rnc

@lcarva Could you take a look at this please?

rnc avatar Dec 14 '20 11:12 rnc

Filed the internal tracker as CLOUDBLD-3792

lcarva avatar Dec 17 '20 18:12 lcarva

git-submodule is a package manager from Cachito's perspective.

The way to use it is by listing git-submodule in the pkg_managers list of a Cachito request. You may use git-submodule with other package managers. For now, the only restriction is using git-submodule together with gomod.

When the git-submodule package manager is used, Cachito will also fetch the contents of the git repos referenced as submodules. However, if a submodule in turn has submodules, those will not be fetched.

Does that answer your immediate questions until we can get this information incorporated into the docs?

lcarva avatar Dec 17 '20 19:12 lcarva

@lcarva Yes thanks, it was originally for the work on https://github.com/cekit/cekit/issues/663

rnc avatar Dec 18 '20 09:12 rnc