-
Notifications
You must be signed in to change notification settings - Fork 15
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
v0.9.0 fails to build with package managers #236
Comments
@0323pin if I push a commit, can you test if the patch fixes the issue without creating a release? |
My last build from git-HEAD pulling from #cf510cf33c2d0a8e68d6f9df4721aed86a1a2bfc worked just fine. By default, all NetBSD builds are done in
Yes, of course. |
That's what I'm not understanding, all of my builds (local and with |
Give a minute, I want to test something ... |
I tested using the |
Hope this helps! |
Well, I needed to add that portion because |
Experimenting error on FreeBSD. Thanks
|
Yep, it is. Still unsure on how to fix it |
I don't get it, let me try something. |
@Builditluc I can cut a release without issues, https://github.com/0323pin/wiki-tui/releases/tag/0.9.0 |
And EDIT: because applying the same patch as you did (reverting the path back to
|
@nunotexbsd in your log, I see the If I modify the macro to use the I pushed a commit doing this to |
No, I get the same as you. |
To me the only logical conclusion would be that the $PWD is set to something different when using |
I could build from the previous commit but, then anyone running
which, would be confusing. |
I'll publish |
I agree that is confusing, and that doesn't fix the issue going forward |
Bring it on 👍 |
It's live, but I get the same error with EDIT: We need to pass in the |
A manual release still works |
Well I really don't know hot to get it working. Maybe we should remove the proc-macro alltogether and write the code ourselves? But I'll have to look at it tomorrow |
Yeah, it's getting really late for me as well. Just let me know if you need any testing prior to release. Lets make sure things work before and, as I already said, I'm building in package mode, so it will get caught. |
Sometimes is good with sleeping ... I've added a patch at our end that allows the build to succeed and will merge the update soon.
It would be nice to figure out what the actual issue is but, at least I can now merge the update. |
Yes, sometimes it does magic. EDIT: Hey that works! |
@0323pin I've pushed a commit to We should be then able to test the package compilation |
Confirming this works using
|
@0323pin when you give me the go-ahead, I'll create a |
No patch needed Hope you made it to the train. |
Hello, v0.9.0 + patch 536deee Thanks |
Lets wait for 0.9.1 version to be released. One thing that I've noticed is that my
Reverting to 0.8.2, cursor keys and colors theme works fine. Should I wait for next release and open a PR about it? |
@nunotexbsd That's because it was a complete re-write and these things have changed. My plan was to have fixed it by now but, other things came in the way. Anyway, hope it helps for a start and from there you could follow the docs. |
Thanks for clarification. Cheers EDIT: I followed your link and now I have working configs. |
Yes I did, the train was late so I was able to wait in the cold (yay). Should I change the patch to say v0.9.0, so it doesn't get confusing as to why there is no 0.9.1 published? (EDIT: Didn't see the latest comments before posting, I can publish 0.9.1in a few minutes, have to wait until my lecture is over) |
@nunotexbsd yes, the configuration schema changed almost completely. I tried reusing the old schema where I could. Since we already need to push another version to fix the build, should we include a more visible note about the config changes in the release notes (@nunotexbsd @0323pin, what do you think?) |
@Builditluc You don't need to rush to push 0.9.1, there's plenty of time. I was thinking of having a default set of config files covering all options but, I haven't managed to cover that, yet. |
I was thinking the same about adding a pkg message for users updating from 0.8.2 to 0.9.x to adapt configs and add some helpfull links. Yes, adding config changes to release notes is good. EDIT: What about adding config samples to tarball? This way, packagers could install those files as samples so users try out. |
Added a few more settings to my config files, https://codeberg.org/pin/netbsd/src/branch/main/.config/wiki-tui Still not a 100% coverage of all options but, hopefully an example. |
We already have a how to upgrade page, maybe one could expand this. In the release notes of 0.9.1 I'll point to this page and remind users again of the schema change. |
Looks good! We can also add some example configs with pictures to the website, but that would be a thing for the next version |
Since I already bumped the version in the commit to |
@nunotexbsd @0323pin the release is up, you should now be able to update your packages |
Cheers! |
Closing the issue as v0.9.1 fixes it |
This issue tracks the fixing of a bug where
wiki-api
won't compile with package managers (cargo install --locked
works just fine).The text was updated successfully, but these errors were encountered: