AOSC-Dev / ciel-rs

A tool for controlling AOSC OS packaging environments using multi-layer filesystems and containers (version 3)
MIT License
10 stars 5 forks source link

feat: --stage-select add option --next #5

Closed eatradish closed 2 years ago

eatradish commented 2 years ago

To build start point (x) next package (x + 1)

e.g:

I have build order file:

ciel-rs
apt-gen-list-rs

use ciel build -i s groups/test --stage-select ciel-rs --next to build apt-gen-list-rs

liushuyu commented 2 years ago

I am not convinced. I am not sure why this is needed.

Assuming the use-case is valid, your current design is not flexible: what if I want to build the package that is +4 below or -1 above? This is possible because your use-case entails that one doesn't remember the package to resume, rather than the other package that has a distance to it.

Also, speaking from the packaging perspective, I assume this is needed because you fixed a package and then want to continue. It's always a good idea to resume from the package you have fixed to check if it builds from a clean environment, so making your use-case invalid.