Christophe Bliard
3a331309a2
Create crowdin source file from multiple seed files
...
Typically, common.yml and standard.yml content are merged together to
generate the `config/locales/en.seeders.yml` file.
2023-05-30 15:48:14 +02:00
Christophe Bliard
da773a1248
Fix translations overwritten by seeders translations
2023-05-11 12:08:37 +02:00
Christophe Bliard
971803d5e6
Can run generate_seeders_i18n_source_file without rails runner
2023-05-11 11:35:20 +02:00
Christophe Bliard
9113c46f92
Send crowdin source file for seeders translations
...
https://community.openproject.org/wp/48016
2023-05-10 09:35:09 +02:00
Christophe Bliard
882dd81295
Use language names from CLDR
...
script/i18n_generate_languages_translations can fetch CLDR and generate the yml translation files automatically.
Group i18n related scripts in a directory
2023-03-06 14:44:31 +01:00
Dombi Attila
4bf9f53802
Raise an error in the github pr errors script when the PR cannot be found on the workflow, this happens when a PR is closed or merged
2023-02-07 14:54:04 +01:00
Christophe Bliard
44bfa1f8b4
Exclude rubocop job when fetching logs
...
Because there are no logs, it leads to a 404 and the script fails.
2023-01-20 10:15:21 +01:00
Christophe Bliard
21a696ef9b
Update copyright information for 2023
2022-12-30 15:51:26 +01:00
Christophe Bliard
934ebfd9bc
Output log dir and disable pry by default
2022-12-20 10:58:53 +01:00
Christophe Bliard
47431a37c7
Add pull request link to displayed information
...
[skip ci]
2022-11-08 10:29:12 +01:00
Christophe Bliard
fee8ffd0a5
Can specify workflow run id with --run-id
...
[skip ci]
2022-11-08 10:15:48 +01:00
Christophe Bliard
4f8efc6734
Add --compact option to output all on one line
...
[skip ci]
2022-11-03 08:54:44 +01:00
Christophe Bliard
554ec0a277
Fix missing import + output failing specs line by line
2022-10-21 17:06:17 +02:00
Christophe Bliard
f1c7cfb7ea
Get failures from in-progress runs if none completed yet
...
And display better error message for failed GitHub requests.
[skip ci]
2022-09-30 14:33:32 +02:00
Christophe Bliard
ff8dc42543
Add colors and url for each job and run
2022-09-21 18:02:21 +02:00
Christophe Bliard
e31fa64855
Detect more errors in script/github_pr_errors
2022-09-01 12:27:53 +02:00
Christophe Bliard
2fb8505ada
tooling: Cache some GitHub api results
...
[skip ci]
2022-08-30 18:11:31 +02:00
Dombi Attila
975f117c74
Require fileutils in the bulk_run_spec
2022-08-30 10:56:28 +02:00
Christophe Bliard
25ad65d88e
Enclose failing spec in single quotes
...
So that when copy pasting it, zsh won't complain with "zsh: no matches found" error due to presence of unescaped `[]` in the command.
[skip ci]
2022-08-23 15:48:50 +02:00
Christophe Bliard
48289e2c77
Load gems with bundler in script/github_pr_errors
...
It makes running the script more deterministic
It also prevents warnings like `WARN: Unresolved or ambiguous specs during Gem::Specification.reset` to be displayed when there are multiple versions of the same gem in the load path.
[skip ci]
2022-08-23 14:19:37 +02:00
Christophe Bliard
4016bba93b
Add script/bulk_run_rspec to run tests many times
...
Useful to check for flickering tests.
For instance `script/bulk_run_rspec spec/features/some_spec:123` will
run the spec 5 times, output ko/ok depending on the result, and save all
information in `tmp/bulk_run`.
2022-08-05 16:05:30 +02:00
Christophe Bliard
25088797ba
Improve retrieval of pull requests errors
...
* Display commit sha and message
* Display failed jobs names
* Exclude workflow runs being in progress
* Only download logs of failed jobs instead of all workflow run files to
save time
2022-08-05 15:55:12 +02:00
Christophe Bliard
6dd7af968a
Add GitHub token creation instructions
...
Make rubocop happier too.
[skip ci]
2022-07-06 08:55:36 +02:00
Oliver Günther
dc65a55e13
Remove length restriction from crowdin
2022-05-31 08:18:29 +02:00
Christophe Bliard
133ddb4641
dont validate openapi spec if bundling failed
2022-05-11 10:06:57 +02:00
Christophe Bliard
76e64b8293
make api scripts work from any working directory
2022-05-11 10:06:55 +02:00
Christophe Bliard
6ff08eacfa
reuse existing code to get openapi spec yaml in validate_spec script
2022-05-10 11:29:47 +02:00
Oliver Günther
388bd45c07
Update and fix migration script to wait for MySQL
...
Also allows skipping the first migration step in case the database is
already @v8
2022-03-14 16:17:59 +01:00
Christophe Bliard
a33524ef6d
remove ruby magic comment for utf-8
...
ruby interprets source encoding as utf-8 since 2.0.0, making magic comment redundant and useless
2022-03-10 19:36:58 +01:00
Christophe Bliard
bc8d423ec2
update copyright information for 2022
2022-03-01 17:05:59 +01:00
Spiros Andreou
a37d3be9ad
Changed mount point src from user's dir to /tmp
...
The mounted folder (the user home directory) is not writable from the container. So the dump file, won't be created.
2022-02-03 06:32:36 +01:00
Eric Schubert
29afa4da70
[ #40228 ] added storage resource
...
- changed /download and /open to redirect responses
- fixed readOnly properties
- added storage path and model
- added permissions and descriptions on error responses
2022-01-25 14:44:42 +01:00
Oliver Günther
a8a6b11520
Merge pull request #10025 from opf/bug/40397-openapi-specs-not-openapi-30-compatible
...
[#40397 ] OpenAPI Specs not OpenAPI 3.0 compatible
2022-01-18 10:18:24 +01:00
Oliver Günther
b5a5641696
Debug failing move in crowdin action
2022-01-18 08:15:47 +01:00
Eric Schubert
e19ecc27cf
[ #40397 ] OpenAPI Specs not OpenAPI 3.0 compatible
...
- https://community.openproject.org/work_packages/40397
- fixed crucial bugs and most warnings
- fixed spelling and naming
2022-01-17 17:01:48 +01:00
Markus Kahl
a7e7d94943
use fully assembled spec, return correct exit code
2022-01-10 15:48:01 +00:00
Oliver Günther
93e45a921c
Merge pull request #10015 from opf/fix/locale-names
...
Use the I18n locales instead of the file names
2022-01-04 16:40:33 +01:00
Oliver Günther
61ae0d1392
Fix test suite name in errors script
2022-01-04 15:40:46 +01:00
Oliver Günther
2094074e73
Fix locale keys after downloading from crowdin
2022-01-04 10:46:49 +01:00
Oliver Günther
ccfa29c728
Move license and copyright docs to root, fix names and references
2021-09-02 21:50:46 +02:00
ulferts
8ae523353e
update preferences api specification
2021-08-03 16:44:05 +02:00
Oliver Günther
02bd8ef9c2
Replace dangerfile with eslint plugins
...
We currently use dangerfile only for jasmine fdescribe/fit tests and
Angular onPush checks.
Both can be replaced by eslint plugins.
2021-07-20 14:14:49 +02:00
Markus Kahl
80f1284340
removed superfluous %x
2021-06-29 15:44:25 +01:00
Markus Kahl
9a7b3c5723
amended executable flag
2021-06-29 15:13:04 +01:00
Markus Kahl
20171e3839
put spec validation in script; polish
2021-06-29 15:06:57 +01:00
Markus Kahl
d39609a41d
put spec assembly into independent script
...
as in it doesn't require bundling or a database
conncetion as opposed to a rake task
2021-06-29 14:43:47 +01:00
ulferts
d4c5ff1c73
Merge branch 'release/11.2' into dev
2021-04-28 14:03:21 +02:00
Oliver Günther
cfd3925e8f
Bump ruby to 2.7.3 ( #9198 )
...
* Bump ruby to 2.7.3
* Remove travis files
2021-04-28 14:00:57 +02:00
ulferts
aa4397cf28
Merge branch 'release/11.2' into dev
2021-04-12 09:51:14 +02:00
Markus Kahl
e72d6fd314
clarified leading comment
2021-04-07 09:48:23 +01:00