##// END OF EJS Templates
ui: added action link that repliaces current mix of actions in options and action buttons...
ui: added action link that repliaces current mix of actions in options and action buttons - this was part of new UI that we didn't ship in 4.17 - makes whole UX more consistent and has a single creation path for many different objects - this is ready for more actions in future - context actions change if we're in repo group or repo - new users has creation option available if their personal repository group exist.
marcink -
r3907:c5a907e3 default
Show More
Name Size Modified Last Commit Author
/ pkgs
nix-common
patches
README.rst Loading ...
license-generate.nix Loading ...
node-default.nix Loading ...
node-env.nix Loading ...
node-packages.nix Loading ...
overlays.nix Loading ...
python-packages-overrides.nix Loading ...
python-packages.nix Loading ...
shell-generate.nix Loading ...

Generate the Nix expressions

Details can be found in the repository of RhodeCode Enterprise CE inside of the file docs/contributing/dependencies.rst.

Start the environment as follows:

nix-shell pkgs/shell-generate.nix

Python dependencies

pip2nix generate --licenses
# or
nix-shell pkgs/shell-generate.nix --command "pip2nix generate --licenses"

NodeJS dependencies

Generate node-packages.nix file with all dependencies from NPM and package.json file This should be run before entering nix-shell.

The sed at the end fixes a bug with http rewrite of re-generated packages

rm -rf node_modules &&
nix-shell pkgs/shell-generate.nix --command "
    node2nix --input package.json \
             -o pkgs/node-packages.nix \
             -e pkgs/node-env.nix \
             -c pkgs/node-default.nix \
             -d --flatten --nodejs-8 " &&
sed -i -e 's/http:\/\//https:\/\//g' pkgs/node-packages.nix

Generate license data

nix-build pkgs/license-generate.nix -o result-license && cat result-license/licenses.json | python -m json.tool > rhodecode/config/licenses.json