universal-ctags / ctags

A maintained ctags implementation
https://ctags.io
GNU General Public License v2.0
6.58k stars 629 forks source link

Package universal ctags for as many platforms as possible #354

Closed cweagans closed 9 years ago

cweagans commented 9 years ago

Opening this issue mainly as a placeholder, as the website is going to link to it.

To anyone coming here: we already have Homebrew packaging for Mac OS. .deb and .rpm packages would be awesome, and if there's a reliable way to install on Windows, that'd be cool too.

ffes commented 9 years ago

For Windows you need to buid ATM. Once we release our first version a prebuild Windows .exe will be provided (in a simple zip file with some documentation). There are not many packaging systems for Windows, but I will investigate that any time soon.

mawww commented 9 years ago

Getting packaged in cygwin would be nice, no idea how that works though.

ffes commented 9 years ago

I already maintain one cygwin package. I know how it works.

I will contact the current ctags maintainer and ask him to start using universal, or ask to hand over the package to us/me.

cweagans commented 9 years ago

When we get closer to a release, I'll look at building Debian packages that people can use. It's unlikely that stable Debian distros are going to switch upstreams for their ctags package.

b4n commented 9 years ago

FWIW, I would myself never install a third party Debian package. If I want a software that isn't packaged, I'd rather build it myself, and possibly install it in a custom location, than use a third party package I don't trust and has the potential of messing up my whole system.

This comes both from an idea of knowing what happens to my system, and experience that it's very common that third party packages are not well tested, and sometimes break unrelated stuff. And even if it doesn't in the Debian version it's supposed to go in, it's likely to break stuff when people upgrade their box, as this package won't get updated, and would possibly create conflicts.

So IMO, providing binary packages for Linux distros is useless (or worse). We could provide the source for building them (e.g. the debian/ subdirectory for Debian packages, or the .spec for RPMs, the whatever-is-its-name for Gentoo, etc), but I don't see much use case for binary packages. And the worse thing is, do anyone of us really know Debian packages, Fedora packages, Gentoo packages, ArchLinux packages? And if we don't really know what we're doing, then it'll lead to the breakages I mentioned.

masatake commented 9 years ago

@b4n, I agree with you as a user of Fedora.

cweagans commented 9 years ago

Personally, I wouldn't care about much of anything outside of Debian packages. For the time being, I don't think it's reasonable to expect distros to immediately switch to Universal Ctags from Exuberant Ctags, so we need to have some other way of installing it. I think providing a PPA for Ubuntu and Debian users would be a good idea.

vhda commented 9 years ago

It would still be a good idea to start by contacting the current maintainer of the Debian package and discuss this with him. He should be able to at least guide us on the right direction.

cweagans commented 9 years ago

:+1:

viccuad commented 9 years ago

Hello, I intend to happily package universal-ctags for Debian (although getting in contact with the exuberant-ctags maintainer is a good idea).

It would be beneficial to have releases or tags of universal-ctags so it can get packaged more easily. Is there any plans in this aspect?

cweagans commented 9 years ago

Another open source project that I'm involved in has been looking into using OpenSuse's Open Build System (OBS) for packaging. The idea is that you write a Specfile (which you'd have to do to package an RPM anyway), upload it, and OBS will take care of building packages for every distro it knows about. That might be a really good way to go for Universal Ctags.

Tranquility commented 9 years ago

Hi, I want to package universal-ctags for Gentoo. Are there any plans to tag versions? If so, which visioning scheme will it follow and which will be the first version? Are you continuing the exuberant-ctags version or start fresh?

masatake commented 9 years ago

@Tranquility, we don't have any plan yet. I'll open an issue about it.

cweagans commented 9 years ago

Closing this in favor of the other issues for Debian, RHEL, Gentoo, Mac, and Windows

FilBot3 commented 3 years ago

There are COPR repos for Fedora as well for this:

An official one would be nice, but meh.

westurner commented 8 months ago

An official [Fedora package] one would be nice, but meh.

From https://github.com/jonathanspw/headscale-rpm/issues/6 just the other day:

A fedora Koji or COPR RPM build would rebuild with new releases; there's automation to limit time to patch.

https://copr.fedorainfracloud.org/coprs/jgoguen/universal-ctags/package/universal-ctags/

https://copr-dist-git.fedorainfracloud.org/cgit/jgoguen/universal-ctags/universal-ctags.git/tree/universal-ctags.spec

westurner commented 8 months ago

Anyways, repology has README badges to display which version is the latest repackage for each distro:

westurner commented 8 months ago

From https://github.com/xflux-gui/fluxgui/issues/41#issuecomment-270574454 :

masatake commented 8 months ago

In this repository we will not work on preparing packages. Eager volunteers can prepare binary packages via their repositories as we have done in https://github.com/universal-ctags/ctags-win32 and https://github.com/universal-ctags/ctags-nightly-build.

leleliu008 commented 7 months ago

Starting from today, in addition to provide prebuild tarballs, we also will provide some commonly used package formats e.g. deb, rpm, pkg.tar.xz, apk, etc.

These packages are published as GitHub Releases, you could download from https://github.com/universal-ctags/ctags-nightly-build/releases

These packages are snapshot prebuilt binaries that are built every night, they are not regular releases.