Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] micro-nightly #1598

Open
davidusrex opened this issue Jul 21, 2024 · 5 comments · May be fixed by #1814
Open

[Request] micro-nightly #1598

davidusrex opened this issue Jul 21, 2024 · 5 comments · May be fixed by #1814
Labels
enhancement New feature or request new This adds a new package

Comments

@davidusrex
Copy link

What software are you requesting to be packaged?
micro
https://github.com/zyedidia/micro

Describe the motivation
A clear and concise description of why you want this package. Would this provide value to other users?
The package in Fedora is two minor versions behind (but is still being built for current Fedora versions). This is not a major problem in and of itself, but... upstream seems to have stopped tagging releases for the time being, with the last tagged release being 2.0.13 from October 2023. There have been 243 commits since then and development has been very active. So the Fedora package is actually more than a year out of date.
I've come up with the idea of packaging a micro-nightly version so as not to conflict with the Fedora package. Upstream actually does have a "nightly" tag which is a snapshot of the repo taken every day at midnight.

Additional context
I'll try to package it myself, just wanted to make sure it was okay to package a different version of an existing package.

@davidusrex davidusrex added enhancement New feature or request new This adds a new package labels Jul 21, 2024
Copy link

linear bot commented Jul 21, 2024

@madonuko
Copy link
Member

You have my approval, go ahead and thanks in advance for the work!

@madonuko
Copy link
Member

Hey, just checking up on the progress; do you need help or do you want me to just package this?

@davidusrex
Copy link
Author

davidusrex commented Aug 1, 2024

Hi mado, sorry that it's taken me so long to come back with a PR. It took me a while to understand how RPM macros work and the packaging guidelines for packages written in go are exceptionally onerous.

I think I've written the specfile correctly and I'm fine with opening a PR right now, but the package fails to build in mock. It's specifically failing here:

mock	|  # /usr/bin/systemd-nspawn -q -M 9f12218e72c74fd3a9624ff26da5599d -D /var/lib/mock/terra-40-x86_64/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.dlap4jly:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;<mock-chroot>\007"' '--setenv=PS1=<mock-chroot> \s-\v\$ ' --setenv=LANG=C.UTF-8 --setenv=CCACHE_DIR=/var/tmp/ccache --setenv=CCACHE_UMASK=002 --setenv=CCACHE_COMPRESS=on --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -ba --noprep  --target x86_64 /builddir/build/SPECS/micro-nightly.spec'

Copy link
Member

madonuko commented Aug 2, 2024

Ah… could you either send the full logs (using gist or pastebin or something) or just PR the spec files? The CI will automatically run a build and we could see why this happens.

@davidusrex davidusrex linked a pull request Aug 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new This adds a new package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants