[haiku-bugs] Re: [Haiku] #10649: Add support for verifying repository/dependency state when uploading packages

  • From: "anevilyak" <trac@xxxxxxxxxxxx>
  • Date: Thu, 06 Mar 2014 18:07:00 -0000

#10649: Add support for verifying repository/dependency state when uploading
packages
-----------------------------------------------+---------------------------
   Reporter:  anevilyak                        |      Owner:  zooey
       Type:  enhancement                      |     Status:  new
   Priority:  low                              |  Milestone:  R1
  Component:  Applications/Command Line Tools  |    Version:
 Resolution:                                   |  R1/Development
 Blocked By:                                   |   Keywords:
Has a Patch:  0                                |   Blocking:
                                               |   Platform:  All
-----------------------------------------------+---------------------------
Description changed by anevilyak:

Old description:

> 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, or 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.

New description:

 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.

--

--
Ticket URL: <https://dev.haiku-os.org/ticket/10649#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: