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

[WIP] bugzilla #21355

Closed
wants to merge 1 commit into from
Closed

[WIP] bugzilla #21355

wants to merge 1 commit into from

Conversation

garbas
Copy link
Member

@garbas garbas commented Dec 22, 2016

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
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@garbas garbas self-assigned this Dec 22, 2016
@garbas
Copy link
Member Author

garbas commented Dec 22, 2016

@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?

@edolstra
Copy link
Member

@garbas No, I mean nix-generate-from-cpan, which is in Nixpkgs.

@garbas
Copy link
Member Author

garbas commented Dec 23, 2016

@edolstra tnx. is there a way to pick a version of perl module? eg. nix-generate-from-cpan URI::db==0.17?

@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 pip freeze)

@edolstra
Copy link
Member

@garbas Don't think so, but I haven't tried.

@srivathsanmurali
Copy link

@garbas Hi, Any progress on this? This would be great it have working :D

@garbas
Copy link
Member Author

garbas commented Jun 12, 2017

@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?

@srivathsanmurali
Copy link

@garbas unfortunately no. I don't have any experience with perl. But I wouldn't mind trying something out. Will get back if I find anything :)

Sent from my Samsung SM-G920I using FastHub

@mestaritonttu
Copy link

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

@jwiegley
Copy link
Contributor

jwiegley commented Jan 9, 2018

Is this made obsolete by #26546?

@garbas
Copy link
Member Author

garbas commented Jan 9, 2018

@jwiegley both are WIP :) i guess this is a common thing with bugzilla :P

@jwiegley
Copy link
Contributor

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.

@mestaritonttu
Copy link

@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.

@jwiegley
Copy link
Contributor

@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.

@Mic92
Copy link
Member

Mic92 commented Nov 15, 2018

this one seems newer: https://github.com/NixOS/nixpkgs/pull/26546/files

@Mic92 Mic92 closed this Nov 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants