-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
nala: update to 0.11.1
#11843
nala: update to 0.11.1
#11843
Conversation
Feel free to take this, I have not had any time to work on this. |
Nala is building correctly, but I overlooked that installing from pyproject does not generate a |
I also noticed the old build script uses Some simple python packages in the repo don't use this, while more complex ones do. |
Could you also try to run this against |
Nala 0.11.1 was a hot-fix for a debian-only issue, and has not been added to the volian apt repo, so I can't really test it. But now the package should be updatable by changing only the version and hash, in theory. |
Ah, I hadn't looked into it that much. LGTM. Thanks for your time. |
0.11.1 was only a small change to how we generate the date for the manpages during build time so that it is reproducible in Debian. This hot-fix changes nothing else for 0.11.0, the only thing is that the manpages will have the date from when it is built. Considering that the termux build doesn't use the Debian packaging and instead uses pip there will be no differences at all. Come to think of it though, it may be worth considering adding in for man pages these can be generated with I don't know if these will put them in the right place, but it does use the termux path variable I added to make things easier. If not you can build them only by ommiting the For shell completions the files are Zsh: Goal is to make Termux updates as painless as possible for everyone involved. Also @D-Brox since they are using the GitLab Release page instead of my repo, all you have to do is change the version to |
Version |
As previously mentioned |
Sorry for the git log mess, with the closing and reopening, it was a missclick. |
Also, could you answer #11843 (comment)? Since it could simplify the build script even further if the function is not needed |
I just tested out the result from the latest CI run, it seems to work fine, but I had to manually create the
This might be a local issue on my end, but will need to be investigated before this can be merged |
I guess the dir can be created in the postinst debscript, along with the other ones, of it doesn't exist. Tho that dir probably exists in most cases, since it's commonly used for lock files. |
Yeah, as I said, probably a local issue, it would still be best to create the directory if it is missing to prevent such an issue. |
I was testing my patches directly on termux, seems like I need to add a pip dependency ( |
10c4a94
to
4456625
Compare
Using |
Yes, I noticed that. I ended up using a normal virtualenv instead of the crossenv, since it proved to be way faster while achieving that same desired result. |
@Grimler91 I think the update is now finally ready. What's been done:
The next updates will probably not take this long, since they'll hopefully only change the version and hash (at least until the rust rewrite is released). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes, please update the commit message so that it is prefixed with nala:
, so that it is easy to see which packages it is that is changed
ea76f29
to
0d112b1
Compare
@buttaface @Grimler91 @landfillbaby @2096779623 |
@xtkoba argued in #12576 (comment) that we should use termux_setup_python_crossenv for all python packages, so could you please add usage of that function again |
@Grimler91 Anything else? |
Otherwise it looks good to me, if CI build succeeds and files are installed to correct place. Will merge in ~12 h unless someone else has comments, thanks |
To prevent warning/error if build.sh is sourced outside of build-package.sh.
e86fb82
to
4a0717d
Compare
Thanks! |
I know this is a duplicate of 11337. I've already tried to make a PR with these updates on their fork, but it's been more than a month without new updates/commits. I've already discussed about updating the version with @volitank, the nala dev.
Please refer to #11337 for the original discussion around the patch improvements introduced in 0.11.0, aimed at termux.