NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.14k stars 13.42k forks source link

Openproject #191159

Open zarelit opened 1 year ago

zarelit commented 1 year ago

Project description

Web based open source project management software. It is based on rails (like Redmine or Gitlab) but has some moving parts e.g. cache, database, etc

Metadata

Existing work

Package/service originally requested in #164019 , but a separate issue is needed due to the size of the application.

The Gemfile of the application use features not yet handled by bundix (see: nix-community/bundix#84)

The project seems to have some nix related files in their sources: https://github.com/opf/openproject/tree/dev/nix

bendlas commented 2 months ago

@b12f is this one yours? https://git.pub.solar/b12f/openproject-nix Are there any major packaing tasks open for it?

b12f commented 1 month ago

Yes that's mine. That attempt is entirely unfinished.

I'm too inexperienced in ruby/gemfile packaging to handle the internal linking that openproject does with its gems. OpenProject recently started using Turbo next to the Angular frontend, so building the frontend is probably also a bit more involved than it used to be. There's also a bunch of tooling in the setup that is only half-reproducible, like the precompilation of assets.

I'm a former employee of OP, and the team there is really nice around contributions. There are scraps of a nix devshell left in the repo, and I know there's at least one current employee still using nix. If you're interested in packaging this, I'd be interested in helping out or tagging along.

goatastronaut0212 commented 3 weeks ago

@b12f Even though I don't have much experience with Ruby, but I would love to challenge myself to port it to NixOS and I have no clues where I should start though? I would love to receive a little help from you, is there any way to contact you easily?

bendlas commented 1 week ago

I've forked your flake and based some work on that, @b12f: https://github.com/bendlas/openproject-nix

The ruby build seems to work now, now working on the angular build ...

EDIT1 frontend build works, continuing with start scripts (web, ...) EDIT2 I'm able to start the web app + background services, added nixos module to flake

bendlas commented 1 week ago

there's at least one current employee still using nix

@b12f would you mind making an introduction? happy to have them participate here or to contact me privately.

With the packaging + module now rough cut, I'll work on implementing options + sane defaults as needed and any input on best practices would be greatly appreciated!

I also have a few questions and ideas, e.g. around:

zarelit commented 6 days ago

Thanks for your work @bendlas ! What did you use to produce gemset.nix, inscapist/ruby-nix ? EDIT: Nevermind, I read the bundix issue comment now :-)