Commit graph

748 commits

Author SHA1 Message Date
Martin Pitt
cfced19000 Makefile: Serialize git cloning targets
The `bots`, `test/common`, and `src/lib/patternfly` targets cannot be
run in parallel, as they compete for the git lock.

Serialize them by adding arbitrary dependencies to them.
2020-09-08 17:14:34 +02:00
Katerina Koukiou
203604a463 Copy patternfly import files from cockpit project automatically
Closes #357
2020-09-08 17:14:34 +02:00
Cockpituous
0ec0856e0e package.json: Update @patternfly/react-core package dependency
Closes #359
2020-08-31 09:15:04 +02:00
Cockpituous
33d1b4425d package.json: Update @patternfly/patternfly package dependency
Closes #358
2020-08-27 17:28:03 +02:00
Cockpituous
427f85795a package.json: Update @patternfly/react-core package dependency
Closes #355
2020-08-20 12:16:14 +02:00
Martin Pitt
be1f24b8bc metainfo: Fix launchable and update description
`<launchable>` must coincide with the actual URL path defined by the
manifest.

Remove the period from `<summary>`, as the spec [1] suggests.

[1] https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent

Closes #350
2020-08-05 13:45:57 +02:00
Martin Pitt
fc4333b50e Makefile: Don't hardcode starter-kit in variable 2020-08-05 13:45:57 +02:00
Martin Pitt
7aa26f19ad travis: Move to Ubuntu 20.04 LTS
Trusty, aka 14.04 LTS, is not officially supported any more.
2020-08-05 13:45:57 +02:00
Martin Pitt
cd778dbe12 Bump Cockpit test API to 224 2020-08-05 13:45:57 +02:00
Martin Pitt
49a721354c
Exclude node_modules from webpack watching
This recently started to overflow inotify, and we don't need that --
it's fine to restart webpack when changing package.json, and it happens
rarely enough.

Closes #345
2020-07-23 18:04:54 +02:00
Martin Pitt
2bb8e01d2d
Port to PatternFly 4.x
Closes #343
2020-07-21 10:33:48 +02:00
Martin Pitt
f2a11ba1de
npm: Bump development dependencies
Closes #334
2020-06-29 22:16:55 +02:00
Cockpituous
96dfac3862 package.json: Update @patternfly/patternfly package dependency
Closes #332
2020-06-26 11:47:04 +02:00
Cockpituous
f2644bff9b package.json: Update @patternfly/react-core package dependency
Closes #329
2020-06-14 16:59:01 +02:00
Martin Pitt
820549d862
test: Adjust to new navigation in Cockpit 220
The parent element `#navbar-dropdown` exists in both old and new
versions.

Closes #325
2020-06-02 08:44:49 +02:00
Martin Pitt
5660330c4c
Drop Vagrantfile
Nobody in the development team has ever really used that, it needs a ton
of dependencies, and doesn't work in toolbox/Silverblue. Our own
vm-run/image-customize etc. machinery is efficient enough, and proven to
work.

Closes #321
2020-05-29 11:16:35 +02:00
Martin Pitt
4166f0a5d4 Use cockpit 220's test runner
This will format the test output as TAP and thus provide nice log.html
output.

Closes #320
2020-05-28 10:52:41 +02:00
Martin Pitt
c039821e18 README: Bump fedora version 2020-05-28 10:52:41 +02:00
Martin Pitt
c083e8a7cf package.json: Fix versions
Use ^ for node-sass, it's a development dependency.

Drop the ^ for patternfly, as these are runtime dependencies controlled
by our npm-update bot.
2020-05-28 10:52:41 +02:00
Katerina Koukiou
96514e279e
main: Stop importing patternfly.css
* Stop importing cockpit's base1/patternfly.css

This is deprecated API and will be dropped at some point, in favor
of projects shipping their own CSS.

Install and import the styles from PF4 now.

* Use webpack based string replacement for removing the font-face rules from PF4

Doing the seddery in Makefile breaks `npm run build`, webpack watching,
and is generally brittle.
Do the font replacement hacking with `string-replace-loader`, which fits into webpack much more nicely.

There is still some potential simplification by not duplicating the
entire scss loader chain.

Co-authored-by: Martin Pitt <martin@piware.de>

Closes #315
2020-05-28 10:01:31 +02:00
Matej Marusak
8adad16874
Bump up version of test/common
There has been a lot of improvements since 213 and also due to new
privilege escalation this is need.

Closes #317
2020-05-23 07:51:00 +02:00
Cockpituous
ccc8d7fc89 package.json: Update node-sass package dependency
Closes #311
2020-05-08 10:53:29 +02:00
Cockpituous
744c1ddb6e package.json: Update node-sass package dependency 2020-04-25 19:59:46 +02:00
Cockpituous
30f646bfa1 package.json: Update core-js package dependency
Closes #302
2020-04-13 09:14:30 +02:00
Cockpituous
7836502c6b package.json: Update react-dom package dependency
Closes #298
2020-03-28 21:09:37 +01:00
Cockpituous
1d0fd48e2d package.json: Update react package dependency
Closes #296
2020-03-22 21:28:38 +01:00
Martin Pitt
d544bda271 test: Use test scenario for selecting browser
Similar to what cockpit-composer does. This is rather simplistic, but
does fine until we need more complex scenarios.

Also use plain shell in test/run, there are no bashisms.

Closes #291
2020-03-10 17:52:30 +01:00
Martin Pitt
115e5a885f Makefile: Use proper file dependencies
Avoid phony dependencies, as they break timestamp comparison and thus
always cause rebuilding of the tarball, rpm, and (the very expensive) VM
for each `make check`, even if only the tests (or nothing at all)
changed.

Use `rpmspec` to predict the name of the built rpm. Use the .spec.in
file directly, as we can't depend on the generated .spec file in the
variable definition.

Closes #290
2020-03-10 11:49:29 +01:00
Martin Pitt
38bd17faef Make cockpit-starter-kit.spec.in rpmspec compliant
Use `%{VERSION}` as version macro instead of `@VERSION@`, so that the
.spec.in file is syntactically a correct spec file that can be parsed
with `rpmspec`.
2020-03-10 11:49:29 +01:00
Martin Pitt
b0bf8afa48 test: Trim package installation
We don't need the full cockpit metapackage with cockpit-docker, etc.
The starter-kit RPM will already pull in cockpit-system, so we just need
cockpit-ws.
2020-03-10 11:49:29 +01:00
Martin Pitt
696ef20f32 Bump cockpit test API to 213 2020-03-10 11:49:29 +01:00
Cockpituous
a711f04195 package.json: Update react-dom package dependency
Closes #287
2020-03-04 07:22:18 +01:00
Cockpituous
fb8c3389ab package.json: Update react package dependency
Closes #286
2020-02-29 21:17:23 +01:00
Matej Marusak
d9a67b1f86 manifest2po: Parse also documentation
Closes #275
2020-02-03 11:48:38 +01:00
Matej Marusak
ec85d30d0f manifest2po: Parse also keywords 2020-02-03 11:48:38 +01:00
Matej Marusak
23e8eb1591 Replace 'extract-text-webpack-plugin' with 'mini-css-extract-plugin'
It looks like Webpack is deprecating extract-text-webpack-plugin in favor of
mini-css-extract-plugin.
Discussion can be found here: webpack-contrib/extract-text-webpack-plugin#731

Closes #271
2020-01-27 21:16:30 +01:00
Cockpituous
7ec06ca6dc package.json: Update node-sass package dependency
Closes #268
2020-01-18 13:02:03 +01:00
Cockpituous
c953db6dee package.json: Update core-js package dependency
Closes #267
2020-01-15 11:30:48 +01:00
Cockpituous
4f51ce190b package.json: Update core-js package dependency 2020-01-12 10:54:51 +01:00
Cockpituous
10a168e282 package.json: Update core-js package dependency
Closes #265
2020-01-08 23:56:08 +01:00
Cockpituous
53fd7a27a9 package.json: Update core-js package dependency
Closes #261
2019-12-27 23:05:36 +01:00
Cockpituous
b0c2094b8b package.json: Update core-js package dependency
Closes #259
2019-12-21 16:39:58 +01:00
Cockpituous
06206df7f3 package.json: Update core-js package dependency
Closes #257
2019-12-15 11:06:15 +01:00
Matej Marušák
c550689296
Bump version of test API
Closes #256
2019-12-12 19:57:24 +01:00
Cockpituous
0778b5f564 package.json: Update core-js package dependency
Closes #255
2019-12-11 23:04:25 +01:00
Cockpituous
3e56d25c50 package.json: Update core-js package dependency
Closes #253
2019-12-05 09:23:48 +01:00
Cockpituous
eb00b27a0e package.json: Update core-js package dependency
Closes #251
2019-11-28 18:26:31 +01:00
Cockpituous
31b6961066 package.json: Update core-js package dependency
Closes #250
2019-11-25 14:06:45 +01:00
Cockpituous
37094da03a package.json: Update react-dom package dependency 2019-11-20 18:24:51 +01:00
Cockpituous
13e75d37a3 package.json: Update react package dependency
Closes #248
2019-11-16 10:18:20 +01:00