Giter VIP home page Giter VIP logo

Comments (7)

mika avatar mika commented on July 22, 2024

There's $REPOSITORY (for the path of reprepro) vs. $REPOS (for the Codename as used inside $REPOSITORY/conf/distributions) but I don't see $REPOS re-used, so I'm not sure I fully understand what you're proposing. Any chance you could provide a PoC/patch?

from jenkins-debian-glue.

jbfavre avatar jbfavre commented on July 22, 2024

When I build a "release" package, package is uploaded in $REPOSITORY/release/$release and $release is also used in conf/distribution as codename.

What I would like to do is upload package in repo $REPOSITORY/release/$release but use $distribution (like wheezy, squeeze, precise, ..) in conf/distribution.

Maybe I'm doing something wrong but I don't see what.

Will try to provide PoC/patch.

from jenkins-debian-glue.

jbfavre avatar jbfavre commented on July 22, 2024

My bad. Everything happens in /usr/bin/build-and-provide-package and specifically in function release_repos line 614.

I really think we should use ${distribution} there. I'll work on a patch :)

from jenkins-debian-glue.

realloc avatar realloc commented on July 22, 2024

This is done to have multiple packages of the same release to be placed in the same repo.
If we have to build large project with complicated build-deps this feature helps to use already built packages to satisfy build-deps of forthcoming package builds.

from jenkins-debian-glue.

jbfavre avatar jbfavre commented on July 22, 2024

@realloc and this should not change !
Lets' say:

  1. I backport Zabbix and I want to backport it for Debian Wheezy & Debian Squeeze
    2.Currently, at least 2 versions are maintained: 2.0 & 2.2

With current organization, you have to manage 4 release repositories, one per software version per distribution.

Now, imagine that you use $distribution as codename for $release repository.
You now have only one repository per software to manage. In my example, only 2 repositories: one for Zabbix 2.0 and the other for Zabbix 2.2

That sounds more easy and, at least to me, more logical.

What about dependencies ? In fact, it does not change anything. You'll still have to package your library for each distribution you support and integrate them in repo, as for now.

from jenkins-debian-glue.

mika avatar mika commented on July 22, 2024

Is someone willing to work on an up2date patch for this issue?

from jenkins-debian-glue.

mika avatar mika commented on July 22, 2024

JFTR: I don't have any environment in usage where this situation applies and am quite out of the loop regarding this. Also we (sadly) don't have according tests which ensure that on such changes nothing breaks in existing setups, so right now it's hard for me to work on this in my current scarce spare time. But if anyone is wiling to work on this I'd be more than happy to accept well tested and detailled PRs . (If anyone is interested in getting this fixed maybe look into #155 as a starting point?)

from jenkins-debian-glue.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.