Skip to content

v0.5.1: Merge pull request #7 from datadrivers/fix-repositories

Compare
Choose a tag to compare
@anmoel anmoel released this 04 Feb 17:13
b72dab4
  • Add prefix 'Repository' to repository format constants
    • FormatApt -> RepositoryFormatApt
    • FormatDocker -> RepositoryFormatDocker
    • ...
  • Add prefix 'Repository' to repository type constants
    • TypeHosted -> RepositoryTypeHosted
    • TypeProxy -> RepositoryTypeProxy
    • ...
  • Simplify Repository CRUD functions by removing repoType and repoFormat
    • RepositoryCreate(Repository, string, string) -> RepositoryCreate(Repository)
    • RepositoryUpdate(string, Repository, string, string) -> RepositoryUpdate(string, Repository)
  • RepositoryDockerProxy
    • Make IndexURL optional
  • RepositoryStorage
    • Make WritePolicy optional