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

Package for Gentoo #663

Closed
cweagans opened this issue Nov 6, 2015 · 8 comments
Closed

Package for Gentoo #663

cweagans opened this issue Nov 6, 2015 · 8 comments

Comments

@cweagans
Copy link
Member

cweagans commented Nov 6, 2015

We have issues for Debian, RHEL, Mac, and Windows, but nothing for Gentoo.

@Tranquility was interested in this. Is there some packaging information that needs to go into the ctags repository for you to be able to package for Gentoo? Or does it work some other way?

@cweagans cweagans added this to the Initial release milestone Nov 6, 2015
@Coacher
Copy link

Coacher commented Nov 6, 2015

All you need to do packaging-wise is to provide release tarballs. The ones autogenerated by GitHub will do just fine. See also https://bugs.gentoo.org/show_bug.cgi?id=561074

Gentoo packaging policy also forbids automagic dependencies. Please avoid them. See also: https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies

@cweagans
Copy link
Member Author

cweagans commented Nov 6, 2015

@Coacher That will definitely happen when the Initial Release milestone is complete. The reason I ask about files that go into the repo is that we'll eventually have a debian directory in the repo so that we know how that packaging works. I'm wondering if there's anything similar for Gentoo - even if it's just some kind of metadata file or something. Ideally, when we tag a release, we can go through and update the version number in the spec file, in the appveyor build config, in the debian package, in the homebrew formula, and in the gentoo packaging info (if it exists). That way, everyone that's building packages for Universal Ctags only has to clone the repo and run whatever script they'd normally run.

Also note that if you wanted to start testing now, you can use https:/universal-ctags/ctags/archive/master.tar.gz as a target.

If you run into anything that would prevent Universal Ctags from being packaged on Gentoo, please open an issue for each specific problem and reference this one so we can get it resolved before the first stable release.

@Tranquility
Copy link

I already created a package. I just need to know which version number the first release will have to add it into the official tree.

@Coacher
Copy link

Coacher commented Nov 6, 2015

The reason I ask about files that go into the repo is that we'll eventually have a debian directory in the repo so that we know how that packaging works. I'm wondering if there's anything similar for Gentoo - even if it's just some kind of metadata file or something.

No. You don't need to include any special metadata in a repo to be 100% Gentoo compatible.

Ideally, when we tag a release, we can go through and update the version number in the spec file [...] That way, everyone that's building packages for Universal Ctags only has to clone the repo and run whatever script they'd normally run.

In Gentoo versioning info is derived from ebuilds (Gentoo's way to describe a package) written by package maintainers, not from the actual sources. Just choose any suitable, consistent way of versioning and you are ready for Gentoo.

@cweagans
Copy link
Member Author

cweagans commented Nov 6, 2015

Okay, so it sounds like #661 is actually the issue that we need to solve for Gentoo, then. I'm pushing for semver, but there should be buy in from the other maintainers.

I'm not sure about any automagic dependencies, so like I said, let us know about those things, and we'll make them more explicit.

@Coacher
Copy link

Coacher commented Nov 6, 2015

Okay, so it sounds like #661 is actually the issue that we need to solve for Gentoo, then. I'm pushing for semver, but there should be buy in from the other maintainers.

Nice.

I'm not sure about any automagic dependencies, so like I said, let us know about those things, and we'll make them more explicit.

Sure, once found in Gentoo, these kind of problems are usually reported back upstream. Thank you.

@blueyed
Copy link
Contributor

blueyed commented Nov 6, 2015

FYI: it's in Arch Linux AUR already: https://aur.archlinux.org/packages/universal-ctags-git/

@cweagans
Copy link
Member Author

@blueyed That's good to know, thanks.

Closing, since we don't have to do anything ourselves here. We'll make a release announcement on the website when we tag, so keep an eye out there for updates (https://ctags.io/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants