Cockpit Project
11da2d284b
package.json: Update core-js
...
Closes #499
2021-10-06 08:08:32 +02:00
Cockpit Project
6e2d0dd01c
package.json: Update core-js
...
Closes #498
2021-09-27 07:16:56 +02:00
Martin Pitt
7dc9fda241
eslint: Enable no-var rule
...
`var` has broken/unexpected scoping in JavaScript, and can lead to
subtle errors. It's preferable and safer to use `const` whenever
possible, and `let` where necessary.
There are no usages of `var` in starter-kit right now, so just enable
the rule to ensure that it stays that way.
2021-09-21 10:35:11 +02:00
Martin Pitt
3220617fec
webpack: Avoid md4 hash for OpenSSL 3 compatibility
...
CentOS/RHEL 9 switched to OpenSSL 3, which does not support the `md4`
hash any more. webpack 5 hardcodes that in no less than 21 places, so
monkey-patch `crypto.createHash()` to substitute sha256 for md4.
Hack to work around https://github.com/webpack/webpack/issues/13572
2021-09-21 10:00:26 +02:00
Cockpit Project
a8e052a78d
package.json: Update @patternfly/react-core, @patternfly/patternfly
...
Closes #495
2021-09-21 09:11:48 +02:00
Cockpit Project
aa1b3cb713
package.json: Update core-js
...
Closes #494
2021-09-20 06:57:55 +02:00
Martin Pitt
a5f319b804
spec: Avoid repeating package name
...
Use rpm's `%{name}` macro instead. This makes it easier for forks to
keep the spec file in sync.
2021-09-16 10:32:58 +02:00
Martin Pitt
cd0b88682d
Bump cockpit lib and test framework to 253
...
No changes necessary.
2021-09-16 10:32:58 +02:00
Martin Pitt
64b83498aa
Makefile: Avoid cockpit-po-plugin.js hardlink in dist tarball
...
Drop the redundant `$(LIB_TEST)` from the tar file list; it is
src/lib/cockpit-po-plugin.js, which is already contained in src/lib, and
tar turns that into an unsightly hardlink.
See https://github.com/cockpit-project/cockpit-machines/issues/379
2021-09-16 09:12:18 +02:00
Jelle van der Waa
6ff3b7d6bc
.gitignore: add tmp directory
...
Include to tmp/ directory to be ignored, it usually contains temporary
vm-run images.
2021-09-14 07:27:19 +02:00
Martin Pitt
9574611768
Rebuild webpack during RPM build
...
This is necessary to comply with Fedora's packaging policy:
https://docs.fedoraproject.org/en-US/packaging-guidelines/JavaScript/
Include the node cache in the source rpm, unpack it into the main source
dir, and force a webpack rebuild in `%build`.
2021-09-10 17:50:06 +02:00
Martin Pitt
4ca75f143c
Move to xz dist tarballs
...
For consistency with the already xz'ed node tarball.
Rename the oddly named `dist-gzip` target to the standard `dist`.
2021-09-10 17:50:06 +02:00
Martin Pitt
26be6c8540
Add a make node-cache
...
The node_modules cache tarball will be published as release artifact, to
make sure that any release can be rebuilt in a reproducible way.
Cockpituous' release-source will call this if available:
https://github.com/cockpit-project/cockpituous/pull/438
2021-09-10 17:50:06 +02:00
Martin Pitt
94194c5187
Makefile: Ship full src/lib/ in release tarballs
...
Otherwise it is incomplete and can't be rebuilt.
2021-09-10 17:50:06 +02:00
Martin Pitt
e49b2747bc
Makefile: Avoid npm dependency for building webpack
...
Avoid the indirection, and directly call webpack. This avoids adding an
`npm` build dependency if/when the RPM wants to rebuild the webpack
during package build.
2021-09-10 17:50:06 +02:00
Martin Pitt
03d8324c19
Makefile: Avoid moving node_modules/ during dist build
...
This is ugly as it races with other make targets which expect
node_modules/ to exist. It's also unnecessary, we can just tell tar to
ignore node_modules/.
2021-09-10 17:50:06 +02:00
Cockpit Project
0134d26783
package.json: Update core-js
...
Closes #489
2021-09-10 06:52:24 +02:00
Martin Pitt
a44ef8bb61
cirrus CI: Move to Fedora 35
2021-09-03 07:42:17 +02:00
Cockpit Project
c1f8802da6
package.json: Update core-js
...
Closes #486
2021-09-03 07:04:53 +02:00
Cockpit Project
fb4c4346c9
package.json: Update core-js
...
Closes #485
2021-09-02 07:08:11 +02:00
Cockpit Project
78ea4a529a
package.json: Update core-js
...
Closes #484
2021-08-30 06:08:18 +02:00
Cockpit Project
a84bd78b61
package.json: Update @patternfly/react-core, @patternfly/patternfly
...
Closes #483
2021-08-27 06:15:46 +02:00
Cockpit Project
92d7e38d49
package.json: Update core-js
...
Closes #482
2021-08-25 11:05:18 +02:00
Cockpit Project
91043e26c5
package.json: Update core-js
...
Closes #481
2021-08-18 07:11:52 +02:00
Cockpit Project
40f3121e90
package.json: Update core-js
...
Closes #480
2021-08-09 06:59:10 +02:00
Cockpit Project
61c708974a
package.json: Update @patternfly/react-core, @patternfly/patternfly
...
Closes #479
2021-08-06 07:07:58 +02:00
Cockpit Project
e44d170dab
package.json: Update core-js
...
Closes #478
2021-07-31 08:33:45 +02:00
Martin Pitt
3d227bcb36
Bump Cockpit pkg/lib to 249
...
Cockpit 247 changed cockpit-po-plugin.js to always expect a line number
in msgid references [1]. Also sync manifest2po from Cockpit 249 to
generate that reference for manifests, so that they keep getting
included into the translation js.
[1] 0ecc3a705d
2021-07-27 09:42:10 +02:00
Martin Pitt
0016765d01
Bump cockpit test API to 249
2021-07-27 09:42:10 +02:00
Martin Pitt
8b7b3f246b
npm: Bump CSS loader
2021-07-27 09:42:10 +02:00
Martin Pitt
a509dde986
Update terser-webpack-plugin
...
Following our other projects.
2021-07-27 09:42:10 +02:00
Martin Pitt
28466f7217
webpack: Move from sassc to Dart sass
...
Fixes #475
2021-07-27 09:42:10 +02:00
Martin Pitt
4d9dd8c11e
workflows: Run release workflow in release environment
...
This partitions secrets and limits their potential exposure/leakage.
This environment can be created with github-upload-action-secrets in [1].
[1] https://github.com/cockpit-project/bots/pull/2164
2021-07-06 09:38:18 +02:00
Martin Pitt
cfaa74f761
test: Fix host name lookup ( #473 )
...
Our code reads /etc/hostname. Do the same in the test, as the runtime
sethostname(2) (set by hostnamed) and static host name may be different.
2021-07-06 09:02:39 +02:00
Allison Karlitskaya
37b2ee5056
various: master → main updates
...
cockpit/ bots/ and cockpituous/ all use the 'main' branch now.
2021-07-05 10:47:18 +02:00
Cockpit Project
37a64010bf
package.json: Update core-js
...
Closes #471
2021-06-30 05:47:55 +02:00
Cockpit Project
50ae23e5ad
package.json: Update core-js
...
Closes #470
2021-06-25 06:44:30 +02:00
Cockpit Project
835395fc18
package.json: Update @patternfly/patternfly, @patternfly/react-core
...
Closes #468
2021-06-24 07:41:51 +02:00
Cockpit Project
7ddabca32a
package.json: Update core-js
...
Closes #467
2021-06-24 07:21:59 +02:00
Cockpit Project
caf8e908eb
package.json: Update @patternfly/patternfly, @patternfly/react-core
...
Closes #465
2021-06-09 14:24:51 +02:00
Cockpit Project
efce4f7f95
package.json: Update core-js
...
Closes #464
2021-06-06 19:47:37 +02:00
Martin Pitt
0edc3e6c53
packit: Build in development mode
...
With recent NPM/sandcastle versions, production mode and its additional
optimizations don't fit any more into the 768 MB RAM of sandcastle
containers. Build in development mode, which skips the optimization
steps.
Taken from 7000b4460e
2021-05-31 08:50:49 +02:00
Cockpit Project
261922a9c1
package.json: Update core-js
...
Closes #462
2021-05-30 10:34:12 +02:00
Cockpit Project
09bc3dca4c
package.json: Update core-js
...
Closes #460
2021-05-26 06:17:35 +02:00
Cockpit Project
22edb6591b
package.json: Update @patternfly/react-core, @patternfly/patternfly
...
Closes #459
2021-05-19 06:27:19 +02:00
Cockpit Project
a10984bcf0
package.json: Update core-js
...
Closes #458
2021-05-10 05:49:14 +02:00
Cockpit Project
53455d58b3
package.json: Update core-js
...
Closes #457
2021-05-07 05:49:34 +02:00
Cockpit Project
f4d2ee2ecc
package.json: Update core-js
...
Closes #456
2021-05-06 06:02:45 +02:00
Cockpit Project
a29384eebd
package.json: Update core-js
...
Closes #455
2021-05-04 06:10:51 +02:00
Cockpit Project
1b5f96e9dc
package.json: Update core-js
...
Closes #454
2021-04-29 05:57:56 +02:00