Page MenuHomeSolus

Issue with make bump
Open, NormalPublic

Description

1 issue

the command make bump if you have inside the package.yml the flag optimize as a bool not a string

Example:

optimize:  lto

fails with

make bump
if [[ -e package.yml ]]; then \
        "../."/common/Go/ypkg/ypkg-tools bump; \
else \
        "../."/common/Scripts/pbump.py pspec.xml; \
fi;
failed to load our package.yml: yaml: unmarshal errors:
  line 12: cannot unmarshal !!str `lto` into []string
make: *** [../Makefile.common:34: bump] Fehler 1

had to switch it to

optimize:
    - lto

2 issue

if I run make bump if I have any commented text inside the package.yml it gets removed

3 issue

the position replaces gets removed if you run make bump

4 issue
there is a slightly change inside the soruce line, the space is missing after the tar url

-source     :
-    - https://cdn.download.kde.org/stable/frameworks/5.78/kconfig-5.78.0.tar.xz : b27a1e97d520e98178f955b8ab29e794df7733beab1898ef06ab5f14afcfffbb
+source:
+    - https://cdn.download.kde.org/stable/frameworks/5.78/kconfig-5.78.0.tar.xz: b27a1e97d520e98178f955b8ab29e794df7733beab1898ef06ab5f14afcfffbb

Event Timeline

Girtablulu moved this task from Backlog to System and Configuration Fixes on the Software board.
Girtablulu removed a subscriber: Restricted Project.
DataDrake lowered the priority of this task from High to Normal.Jan 24 2021, 5:56 PM
DataDrake added a subscriber: DataDrake.

Dropping this to Normal since it was already reverted.

I'll get these moved to github when I set up the new repo