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 #21355
[WIP] bugzilla #21355
Conversation
@edolstra you mentioned to me that there is a cpan2nix tool out there. did you mean this one https://github.com/teneighty/cpan2nix @dylanwh is there much difference in terms of packaging between bmo and bugzilla? |
@garbas No, I mean |
@edolstra tnx. is there a way to pick a version of perl module? eg. @dylanwh how would i get a complete list (name + version) of all cpan modules? i remember you were using some tool that created a vendor bundle. i wonder if i could use it only to generate a list of modules with their respective name. (eg. i'm looking for perl equivalent of python's |
@garbas Don't think so, but I haven't tried. |
@garbas Hi, Any progress on this? This would be great it have working :D |
@srivathsanmurali I'd love to finish this, but I have zero Perl experience. I was hoping @dylanwh would have time to guide me. Do you maybe know Perl? And its ecosystem? |
I talked with Dylan and he is unfortunately too busy to help right now. He did answer the question about creating a vendor bundle. It is done using Carton. Here is how it is used for BMO: https://github.com/mozilla-bteam/bmo-systems/tree/master/bundle/centos6 It is dependent on Perl version so they have these different snapshots: https://github.com/mozilla-bteam/bmo-systems/blob/master/bundle/centos6/cpanfile.snapshot https://github.com/mozilla-bteam/bmo-systems/blob/master/bundle/ubuntu14/cpanfile.snapshot In any case, I think it makes sense to target the upcoming version 6, which will harmonize BMO with upstream. Here is the plan by Dylan. Here is the repo for the Harmony project: https://github.com/bugzilla/harmony |
Is this made obsolete by #26546? |
@jwiegley both are WIP :) i guess this is a common thing with bugzilla :P |
I've got a Bugzilla installation within a container almost fully working; when I do, I'll link from here to add to the discussion. I've borrowed ideas from everywhere that's related so far. |
@jwiegley do you think you could help with the efforts to bring the BMO stuff to upstream? You mentioned containers and Dylan's plan says they must support "A runnable docker container, based on Alpine linux". See also https://wiki.mozilla.org/Bugzilla:Roadmap for some blocker issues. If you want to help even a little bit, do join #bugzilla at irc.mozilla.org and ping Dylan. |
@mestaritonttu I'm afraid that my only reason for pushing on this is to get a single Bugzilla instance up and running. I haven't the spare time to assist with any coding efforts related to Bugzilla itself. On the plus side, I have things very close to working now, just a problem with MariaDB not allowing me to authenticate as my 'bugs' user from the Apache user. |
this one seems newer: https://github.com/NixOS/nixpkgs/pull/26546/files |
Motivation for this change
I am reviving my work from #3651 and in a #21354 i already packaged
mod_perl
which is needed to run bugzilla.i'd like to mention that i am not familiar with perl packaging ecosystem and i'm looking for any help i can get.
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/
)