Skip to content

fix(manifest): Better handling of Git and GitHub artifacts - #528

Draft
nderjung wants to merge 2 commits into
stagingfrom
nderjung/fix/manifest/misc
Draft

fix(manifest): Better handling of Git and GitHub artifacts#528
nderjung wants to merge 2 commits into
stagingfrom
nderjung/fix/manifest/misc

Conversation

@nderjung

@nderjung nderjung commented Jun 20, 2023

Copy link
Copy Markdown
Member

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran make fmt on your commit series before opening this PR;
  • Updated relevant documentation.

Description of changes

This PR makes necessary adjustments to the manifest package to better accommodate for users who wish to specify the Git SHA hash as the version attribute of a component. To make this adjustment a number of changes were necessary:

  • Propagating the Catalog's query of a version to each provider;
  • Allowing a quick-lookup of SHA on GitHub as an archive if --use-git is not provided;
  • Changing the "git checkout" mechanism to facilitate finding the hash amongst different branches.

nderjung added 2 commits June 20, 2023 13:23
…der`

Signed-off-by: Alexander Jung <alex@unikraft.io>
This commit makes necessary adjustments to the `manifest` package to
accommodate for users who wish to specify the Git SHA hash as the
`version` attribute of a component.  To make this adjustment a number of
changes was necessary:

- Propagating the Catalog's query of a version to each provider;
- Allowing a quick-lookup of SHA on GitHub as an archive if `--use-git`
  is not provided;
- Changing the "`git checkout`" mechanism to facilitate finding the hash
  amongst different branches.

Signed-off-by: Alexander Jung <alex@unikraft.io>
@nderjung nderjung added kind/fix This PR fixes an issue or bug area/manifest Issue or PR is related to the manifest labels Jun 20, 2023
@craciunoiuc
craciunoiuc self-requested a review June 22, 2023 12:03
@craciunoiuc

Copy link
Copy Markdown
Member

Still does not work with GitHub artifacts over ssh :(

@craciunoiuc

Copy link
Copy Markdown
Member

@nderjung I think this is the reason why you remember git SHAs working. Can you rebase this and we try it on staging?

@craciunoiuc

Copy link
Copy Markdown
Member

happy birthday #528

@nderjung rebase? 🥺

@craciunoiuc
craciunoiuc marked this pull request as draft April 17, 2026 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/manifest Issue or PR is related to the manifest kind/fix This PR fixes an issue or bug

Projects

Status: 🧊 Icebox

Development

Successfully merging this pull request may close these issues.

2 participants