An new --tree option to ease creation of repo upon another repo

Open
#196 0 comments 0 reactions 1 assignee View on GitHub

@mudler is already working on this.

Since Apr 2, 2021.

Assessment

This issue has not been assessed yet.

Description

enhancement

Is your feature request related to a problem? Please describe.

A different --tree option to distinguish package to build from spec necessary for the build seem useful for building a repo upon an other one.

A exemple to be clear : I build a repo upon mocaccinoOS/desktop repo

My folder is :

  • desktop (desktop repo)
  • packages (my custom/scr repo)

luet build --tree=desktop --tree=packages --full will result in the creation of every packages form both desktop and packages folder (I speak about the .tar.gz packages to web serve.)

luet build --tree=packages --full won't work since build time dep from desktop are not provided.

for PACKAGE in $(luet tree pkglist --tree=packages/); do luet build --tree=packages --tree=desktop ${PACKAGE}; done work. But it painfully braindead and result in rebuilding a lot of time the same tar.gz (wasting a lot of time in "Generating delta" step)

Describe the solution you'd like

An option similar to --tree (maybe --tree-dep ? ) that act like --tree in term of providing spec, but excluded from the list of package to build.

I may have missed something and I'm open to any alternative solution.

Dominant language
Go
Stars
307
Forks
30
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mudler/luet

All issues in mudler/luet

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.