Opened 11 years ago

Closed 6 years ago

#10649 closed enhancement (no change required)

Add support for verifying repository/dependency state when uploading packages

Reported by: anevilyak Owned by: zooey
Priority: low Milestone: R1
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc: bonefish
Blocked By: Blocking:
Platform: All

Description (last modified by anevilyak)

Currently, when adding/updating a package to the HaikuPorts repository via the build system, the commit hook only verifies that the modified package was in fact uploaded. It would be nice if it could also verify that the updated package's dependencies are fully satisfied, and/or that it doesn't break any existing dependencies. This would ensure that the repository is always in a consistent state.

From discussing it with Oliver, this could potentially be implemented by extending package_repo itself to do the verification, which would then be used by the commit hook when adding the package. Alternatively the build system could do so by collecting the packages to be uploaded, and using that as an additional temporary repository when verifying dependencies.

Change History (2)

comment:1 by anevilyak, 11 years ago

Description: modified (diff)

comment:2 by waddlesplash, 6 years ago

Resolution: no change required
Status: newclosed

The buildmaster takes care of this now.

Note: See TracTickets for help on using tickets.