Commit graph

49 commits

Author SHA1 Message Date
Marcin Kuzminski
8a683cb244 js: fixed usage of minimized JS 2019-10-31 15:13:08 +01:00
Marcin Kuzminski
1396e5c09f styling: use sandboxed style for ipython so it doesn't affect style of application anymore. 2019-07-03 14:40:18 +02:00
Marcin Kuzminski
2b56500039 build: fix 32bit builds 2019-02-04 17:17:56 +01:00
Marcin Kuzminski
d9f2a6fda3 packaging: properly expose rcextensions.tmpl using -Rf flags 2018-11-02 17:39:02 +01:00
Marcin Kuzminski
ea37b43e02 nix: don't allow overriding the import packages. This causes overlays to fail 2018-11-02 14:14:06 +01:00
Marcin Kuzminski
b430a30d02 build: add stricter checks for static files inside build data 2018-10-30 01:27:47 +01:00
Marcin Kuzminski
46d31aeda7 build: let CE expose static/source in the same way as EE for consistent etc/ directory structure 2018-10-30 00:38:40 +01:00
Marcin Kuzminski
eee6f4cbd8 packaging: dropped bower, it's now replaced by npm and webcomponents from polymer. 2018-10-29 15:30:10 +01:00
Marcin Kuzminski
6f967a47bf js: use builtin packages for binaries
- add webpack
2018-10-25 16:23:55 +02:00
Marcin Kuzminski
00ec168f83 nix: don't pass pkgs into injected vcsserver. 2018-10-24 12:06:32 +02:00
Marcin Kuzminski
d943065038 nix: use common formatting on inherit keyword. 2018-10-24 11:39:52 +02:00
Marcin Kuzminski
81769be532 packages: use common overlay structure that vcsserver uses. 2018-10-24 11:39:34 +02:00
Marcin Kuzminski
175a9b344e rcextensions: new builtin rcextensions.
- ability to expose output to users from rcextensions
- new docs
- linking to the code makes the tests always check the integrity of rcextensions
- added new hook variables and described them to end users
2018-10-23 11:45:45 +02:00
Marcin Kuzminski
86f4390058 packaging: only wrap external dependency scripts.
- external scripts require the full PYTHONPATH from whole tree
- internal scripts are pre-wrapped, and don't require additional wrapping
- this makes execution of scripts roughly 5x faster due to much smaller PATH tree
2018-10-11 14:27:27 +02:00
Marcin Kuzminski
a04521fd81 packaging: don't wrap rhodecode tools since they are fully standalone. 2018-10-10 12:36:37 +02:00
Marcin Kuzminski
58f89e5cf6 nix: updated to 18.03 nix packages
- dependencies: updated setuptools-scm to 2.1.0
- new strucutre
- cleanups and optimize of build chain
2018-06-28 14:43:26 +02:00
Marcin Kuzminski
b2b69f7572 dependencies: bumped test dependencies
- pytest==3.6.0
- py==1.5.3
- removed: pytest-catchlog==1.2.2
- pytest-sugar==0.9.1
- pytest-runner==4.2.0
- pytest-profiling==1.3.0
- pytest-timeout==1.2.1
2018-05-28 13:34:56 +02:00
Marcin Kuzminski
e024889cc4 nix: added python link for building wrapped python.
- allows some nicer debugging using pycharm for example
- disabled by default.
2018-04-27 00:55:12 +02:00
Marcin Kuzminski
7fa9ff0ebd dependencies: made all dependencies lowercase, helps with diffing other projects, and keeps proper order. 2018-04-24 14:23:49 +02:00
Marcin Kuzminski
7aecfaeebc nix: expose celery binaries 2017-11-18 00:16:17 +01:00
Marcin Kuzminski
d47af44f72 nix: update default.nix to be consistent with ordering with vcsserver. 2017-06-05 15:24:11 +02:00
Marcin Kuzminski
91c104ae49 largefiles: enabled download of largefiles for git and mercurial from web interface.
- fixes #2817
2017-03-27 14:00:36 +02:00
Marcin Kuzminski
6e6e004d14 packaging: don't run strip on sources for python packages 2017-03-01 17:30:18 +01:00
Marcin Kuzminski
31467b5fa4 requirements: updated structure of requirement files, and re-generated nix files. 2016-12-13 11:59:00 +01:00
Martin Bornhold
5eb98d8151 nix: Move shell hook: default.nix -> shell.nix and set custom prompt.
When using multiple dev envs with nix-shell it's good to have a unique
shell propt to distinguish them.
2016-10-17 09:10:28 +02:00
Johannes Bornhold
8c612ba7d5 packaging: Update rc-testdata
I've seen upcoming trouble with recent nixpkgs and updated the default.nix
inside of rc-testdata. This change makes use of the new version for enterprise.
2016-10-06 14:05:11 +02:00
Martin Bornhold
ff59708ca8 nix: Pass the backwards compatible fetchgit to python and node packages. 2016-10-04 10:43:55 +02:00
Johannes Bornhold
9e34c6b014 Nix: Change subversion to the default package
It would mess up the vcsserver if installed into the same environment for
development.
2016-09-21 13:46:12 +02:00
Johannes Bornhold
1e756c22ff packaging: Subversion 1.8 -> 1.9
Updating to the current version from nixpkgs.
2016-08-04 13:26:41 +02:00
Marcin Lulek
b2553067fa nix: export CE sources path 2016-09-05 12:38:09 +02:00
Johannes Bornhold
d193345f2b packaging: Drop legacy support for EE 2016-08-31 14:04:46 +02:00
Johannes Bornhold
22a7abe8cc packaging: Backport bower support utilities
To support nixos-16.03 the utilities to build bower components are backported
inside of this PR. Once we switch to the new stable branch, we should be able to
drop these pieces again.
2016-08-30 18:47:19 +02:00
Johannes Bornhold
4a9375c078 packaging: Improve name of bower components derivation
- Include the version, so that it can easier be related based on the name in the
  nix store.

- Avoid appending bower-components since this part is already added as a prefix
  by the machinery.
2016-08-30 16:48:15 +02:00
Johannes Bornhold
d74f8c096f packaging: Ignore "result" folder 2016-08-30 16:41:07 +02:00
Johannes Bornhold
b559676e0b packaging: Exclude bower_components from sources
This way we avoid that they will be re-built each time.
2016-08-30 16:25:18 +02:00
Johannes Bornhold
0fe775369c packaging: Link bower packages 2016-08-30 16:14:11 +02:00
Johannes Bornhold
947c47eca0 dependencies: Update bower packages
It can already be built via the following command:

  nix-build default.nix -A bowerComponents
2016-08-30 15:18:48 +02:00
Johannes Bornhold
32466dc650 dependencies: Adding Bower out of nixpkgs
Usually bower would be installed globally, so it seems to be appropriate to use
the one out of the nixpkgs so that we don't have to pin a specific version
ourselves.
2016-08-26 15:06:13 +02:00
Johannes Bornhold
4ad8c2eca4 nix: Link node modules based on node2nix 2016-08-26 14:23:02 +02:00
Marcin Lulek
e9d5eb09c5 notifications: support real-time notifications with websockets via channelstream 2016-08-02 16:18:44 +02:00
Johannes Bornhold
1abc307caa nix: Add linkNodeModules to passthru
This way it can also be used from the outside. Useful for release work.
2016-07-19 14:52:11 +02:00
Johannes Bornhold
711cda9de3 release: Provide attribute releaseName
Used from rcpkgs to package things up for the installer and control.
2016-06-07 08:23:17 +02:00
Martin Bornhold
35b7e5a92c nix: Update rhodecode testdata to recent version (0.7.0 -> 0.8.0) 2016-06-17 13:22:59 +02:00
Martin Bornhold
143e2e06ec nix: Import rhodecode testdata as derivation. 2016-06-17 12:57:58 +02:00
Martin Bornhold
fc7f2e7770 nix: Use path to rc_testdata from pkgs.config.rc.sources if present. 2016-06-17 08:34:51 +02:00
Johannes Bornhold
0439478368 packaging: Link pyramid tools, set PATH in wrappers 2016-06-10 09:52:20 +02:00
Johannes Bornhold
15c32d35d1 packaging: Clean up call to read the version
There is no need to wrap it in a string, we can call it directly.
2016-06-08 23:48:16 +02:00
Johannes Bornhold
5a4b5401b5 packaging: Expose the local overrides via passthru. 2016-06-02 13:55:48 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00