-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add to apt #1
Comments
@carlmjohnson http://pkg-go.alioth.debian.org/packaging.html assuming you are talking about packaging go binary for Debian repository. I think it may be tough to get new software into BTW installing the linux binary is as easy as something like:
|
A nice touch would be the addition of Packaging for multiple OSes can be painlessly achieved using fpm. |
It's already homebrew: https://github.com/zyedidia/micro/wiki/Installing-Micro |
@onodera-punpun Ah, I see, good to know. It would be good if it were to end up in the official homebrew repo though. |
Those homebrew instructions should really be in the README. 😉 |
Yes I've added the instructions to the readme now. I didn't have them before because the brew formula didn't work so well with the nightly binaries, but it's fine now that there are released versions. |
Micro is now in the official brew repository :D. |
So what about |
Okay. They recommend doing it through Debian - http://askubuntu.com/questions/16446/how-to-get-my-software-into-ubuntu and for Go Debian has these guidelines - https://pkg-go.alioth.debian.org/packaging.html which basically recommend using this tool - https://github.com/Debian/dh-make-golang which fails with this:
|
Ok I got it to build using That gives this output
So it seems like it shouldn't be too hard to fix the TODOs. The version seems to be a problem, but we can always just checkout the commit with |
I thought that for fixing version it is enough to create annotated tag as mentioned in the first warning. No? |
@carlmjohnson We're tentatively working on this... At very least producing a deb and a ppa. No ETA on when that might happen, I'm afraid. See this pull: We're still testing and expanding that. In the meantime, we've got to get in touch with repo maintainers. |
Perhaps take a look at https://github.com/xor-gate/debpkg for debian-packaging support. |
Also nice to look at is fpm: https://github.com/jordansissel/fpm |
Heh micro went into Solus October 2016 https://dev.solus-project.com/R2071:5b6d37f85384521ddac017a9d8faa87524ad8286 |
Please work on this - I suspect that adoption could multiply by 10 with it. |
The day I will be able to just |
The only way for this to be fixed is for somebody who uses Debian derived OS daily to step up to be Debian maintainer, which is basically following https://github.com/Debian/dh-make-golang and keeping communication between Debian and |
Is anyone still actively working on the debian packaging for micro, I recently stumbled across micro and I thought it would be great to have it in debian and its derivatives. I am already a Debian contributor and have done some Debian packaging Also note that, I am not talking just about making a deb, I would try to get this into Debian so that you would just be able to If someone is working on it, please let me know. I can collaborate, otherwise I'll have to start from scratch. |
I don't believe anyone is currently working on this. I would really appreciate if you could get micro into apt though. Thanks so much! I have no experience in debian packaging but you may find the |
Thanks, I'll see what I can get done at the earliest. |
And I have started the process. |
Thanks so much! Any idea how long the process will take? |
The process is a bit strict. Your package is mostly written in Go. But luckily it has only one unpackaged dependency which is not in Debian already. You can see some of the documentation that I am maintaining on Debian's git repository If you are looking for a timeframe, then I would give you an over estimated time frame of 10-15 days, to get the package to the new queue. I am having a conversation regarding the same on Debian's mailing list. Go and Lua as well. Also during the process I would ask here questions if any regarding the dependencies or any other stuff. One more thing, In the previous comments, you mentioned about
I will keep you informed. Thanks to all the contributors of micro. My favourite text editor these days(along with nano :) ). |
it works on buster
for your raspbian, go ahead and try https://packages.debian.org/bullseye/micro |
It is uploaded to buster-backports https://ftp-master.debian.org/new/micro_1.4.1-2~bpo10+1.html If all goes well, it should get accepted in a week's (usually queue gets cleared every week) time. Thanks to @utkarsh2102 for uploading all build dependencies to buster-backports (all of them got accepted today). |
Just noticed #1093 is affecting us, probably updating to newer versions will fix it looking at the comments. |
So its now available in buster-backports as well. https://packages.debian.org/buster-backports/micro On a buster system with buster-backports repo enabled,
|
incoming with ubuntu 20.04 ;) https://packages.ubuntu.com/focal/micro |
Say "syntax highlighting" instead of just "syntax"
Hi @zyedidia, |
Awesome! How does updating the apt version of micro when there are new releases work? |
Maybe these can help... |
@zyedidia, it's the maintainer's work. Either the person who maintains the package does the update. Or anyone from the Golang team can do that. (in general, anyone can do it as far as nothing breaks and the update doesn't violate any Debian policy or so).
That said, I am one of the maintainers of the package (and the other one is @rajudev) and I'd take care of the update as soon as 2.0.0 release is done :) |
@zyedidia Another thing that you can do is to ping me and @utkarsh2102 on this issue after each release, and whoever of us can will update the package on Debian Side. You can close this issue now. |
Hear, hear! |
Created a PR #1506 |
Is it possible to update the version of micro currently in the ubuntu 20.04 repos? I think the current version has problems with log.txt and version information. If building 2.0.4, also note that the build tags need to be updated to include a In general, is there any reason why the makefile can't be used to package the debian version? This way I can make sure that the build tags and commands are correct if that ever gets updated again in the future. |
Ah! I am a Debian Developer and manage the Debian releases (which gets in sync with the Ubuntu repositories) but I think I can try to get these two things fixed. I'll see what and how can I do that because 20.04 (focal) has already been released and it's a stable release so I think the only way out is the backports. I'll get in contact with some Ubuntu devs to figure a way out.
Right, thanks for the heads up! I read the release notes and I'll take care of this!
The workflow and the build is different from how it works with Makefile. |
Ah, 2.0.4 depends on the newer version of tcell, too.
Both tcell and micro v2.0.4 has been uploaded to Debian! 🚀 |
@utkarsh2102 @rajudev Hi! Could you update micro to the latest version 2.0.11 for Debian Busty and Bullseye? |
Yes! I’ll get to it in a bit. @gabrielapivetta, would you be interested in taking this, though? |
It would be more convenient to install micro on servers if you could just run
apt-get install micro
.The text was updated successfully, but these errors were encountered: