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
[WIP] Bugzilla #26546
[WIP] Bugzilla #26546
Conversation
Perl packages can be merged, i think, should i put them in a separate PR? |
If the packages are useful on their own, I think it makes sense to merge them before the systemd service is ready. I don't see much to nitpick about here, except maybe providing proper licenses for all packages or at least indicating whether they're free software. @rycee may be able to help more with the Perl stuff. |
@joachifm
what do you think? @vaartis you can simply put all the perlPackages into one PR. that said, i would even squash this whole PR into one commit. |
Unfortunately many CPAN authors don't set correct meta information for the license but usually you can find it out by browsing the package a bit. In particular
About squashing I personally prefer one commit per |
Perl modules PR: #26569 |
@joachifm so.. i've kind of written the service, but how do i test it? Obviously, it isn't available from system-wide |
@vaartis you can add the module to https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/module-list.nix or add it to the |
Or you can define the service inline in configuration.nix, as in |
Licenses are not really about closing sources. You can publish your source publicly still forbid anyone to use it; on the other hand, you can do open source license with closed code: you only need to provide source code when you sell the software. To the topic... the PR looks good superficially, though indentation level is 4 spaces when most of nixpks use 2. For systemd module, check out nixos/modules/services directory—it has plenty of examples. You should grasp the pattern quickly. |
Thanks! Also, aparently there is an error in httpd module, which breaks mod_perl. Somebody moved httpd modules into mod_perl fix: #26579 |
|
the option are you packaging https://web.archive.org/web/20160829175239/https://nixos.org/wiki/MediaWiki |
Hmm.. Is there any way to test httpd submodule without rebuilding whole system to the latest version from github (used it by setting |
build the system
is the command you can use to build your new webserver. if you want to test on master, then you probably have to rebuild much software but only commits on to deveop a feature it might be a good idea to use 17.03 as basis (or whatever you are working on, see your nix-channel). using nixos-containerif you don't want to 'modify' your host operating system, in case you are working on nixos, you can either go for https://lastlog.de/blog/posts/advanced_webservices_on_nixos_revisited.html |
I don't think
So, it doesn't use my path, despite apache and bugzilla being there |
Typo: nixpgs -> nixpkgs |
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.
@vaartis again, thank you.
💯 from my side. Once we have it packaged we can look how to generate Perl expressions via carton or such Perl packaging tools.
I'm approving this ahead of time, since I wont have time in coming days.
name = "bugzilla-5.1.1"; | ||
|
||
src = fetchurl { | ||
url = "https://ftp.mozilla.org/pub/webtools/${name}.tar.gz"; |
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.
maybe it would be better to fetch from github directly https://github.com/bugzilla/bugzilla
@bjornfor oh... My bad |
So.. bugzilla requires the configure script to be ran by somebody in |
So, i've just pushed everything i could do with it, probably cannot continue it until i figure out how to add modules to apache perl search path. Any ideas?
|
@vaartis You want the |
See #26978 for an example. |
@0xABAB can't work on this right now, feel free to copy my working branch and finish this one.. |
Is there interest in continuing this PR from any involved parties? |
I'm probably not going to finish it. |
Motivation for this change
There was no bugzilla expression
So.. This is my first contribution and i am not quite sure if everything is good, there probably should be some kind of systemd service to launch bugzilla but i don't really know how to write them. There are also some of bugzilla's CPAN dependencies. Please, help me on systemd service and finilizing the package
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)