Skip to content

Option to upload is-devel-package #132

Open

Description

@akritkbehera

Currently there is no way to upload a package when we checked out it's local sources and have built it. In CI if we need the support of uploading is-devel-packages shouldn't be hard if built with remote-store we can assign it remote hashes and then it would upload them.

Activity

  1. pbuncic commented on Oct 17, 2026

    @pbuncic
    Contributor

    If this is about checking out PR against already built dependencies, I would do it differently - instead of locally checking out PR, I'd add another default file, say defaults-pr.sh that looks like:

    package: defaults-pr
    version: v1
    valid_defaults_exempt: true
    overrides:
      mypkg:
        source: https://github.com/<user>/<repo>.git
        tag: <full PR head SHA>
    

    Then, run build as usual and add "::pr" at the end of of defaults chain ("--defaults ::::pr"). That way only the PR package and what depends on it rebuild. defaults-pr.sh should be just a YAML header so that defaults-release is unchanged, and everything else is reused from the store (keep it free of env). Pin the commit, not the branch. Use the fork’s URL and the PR head’s full SHA. When the tag is a real commit, the hash leaves out the source URL. Funally, upload to the PR bucket as in #130.

  2. akritkbehera commented on Oct 20, 2026

    @akritkbehera
    CollaboratorAuthor

    What if we are using sources:?

  3. pbuncic commented on Oct 20, 2026

    @pbuncic
    Contributor

    I do not understand. Do you mean that instead of source: and git url you what to using sources: and tar file? Then you need to anyway put somewhere your tar file and you defined sources: and/or patches: in the same way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions