Commit graph

11 commits

Author SHA1 Message Date
Chris White
f112ab0826 Regularize whitespace; add editorconfig
- Change the few files that use leading tabs into leading spaces.
  This way they match the other files in the repo.
- Add an EditorConfig file so that supported editors will automatically
  use spaces instead of tabs.
- (Extra) Add some common editor backup-file extensions to .gitignore.
2020-03-21 08:58:43 -04:00
Michael Opdenacker
11ed7b7684 utils/update-elixir-data: add "--tags" to "git fetch"
- Not having this was causing us to miss tags

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-11-25 14:31:38 +01:00
Michael Opdenacker
287667d2a6 update-elixir-data: fix directory test
- "-d" wasn't working with symbolic links
  which we are using on our server to switch
  databases after updates

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-11-07 14:51:31 +01:00
Michael Opdenacker
13738d8dca index-all-repositories: fix llvm project name
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-13 10:06:40 +02:00
Michael Opdenacker
d55498ef77 index-all-repositories: add second pass
- Useful for big repositories that take a lot of time to
  index and are updated frequently

- Good to run this on the indexing machine (faster)
  than through an update on the server (slower in our case)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-13 08:59:20 +02:00
Michael Opdenacker
285b6f5a3c Make update-elixir-data more generic
- Now supports a custom data directory
  (passed as a command line parameter)

- Now supports a custom elixir install
  director (passed through the ELIXIR_INSTALL
  environment variable

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-11 10:17:42 +02:00
Michael Opdenacker
8b632abd68 index-all-repositories: fetch the "other" branch too
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-11 09:54:58 +02:00
Michael Opdenacker
b205cda6db index-all-repositories: index all projects in parallel
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-08 05:28:23 +02:00
Michael Opdenacker
54befeb96b Script to re-index all repositories
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-02 08:21:46 +02:00
Michael Opdenacker
188b0eb1fc New script to pack repositories
- For maintenance use, run it when you have gc.log files

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-30 13:42:37 +02:00
Michael Opdenacker
3b97c3a73b Share script to keep databases up to date
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-30 10:28:19 +02:00