Commit graph

968 commits

Author SHA1 Message Date
Martin Pitt
0cf6704708 Bump css-loader to current version
This also updates to a newer js-yaml, which addresses the current two
`npm audit` issues:

  - https://npmjs.com/advisories/788
  - https://npmjs.com/advisories/813
2019-07-17 17:43:01 +02:00
Martin Pitt
8fab928dcb Update babel to 7.5, and actually enable polyfills
@babel/polyfill is deprecated in ≥ 7.4 [1], and we never actually used
it as we forgot to import it [2]. Move to core-js/stable.

[1] https://babeljs.io/blog/2019/03/19/7.4.0#migration-from-core-js-2
[2] https://babeljs.io/docs/en/babel-polyfill#usage-in-node-browserify-webpack
2019-07-17 17:43:01 +02:00
Martin Pitt
1fc1923021 Rename *.es6 to *.js
*.es6 isn't standard naming, that was just an old cockpit-ism. All files
are treated as ES6.
2019-07-17 17:43:01 +02:00
Martin Pitt
eea86c986f Explicitly specify browser compatibility in babel
We do this in cockpit and cockpit-ostree.
2019-07-17 17:43:01 +02:00
Martin Pitt
077eba3ede Update to current eslint
This has a new rule `quote-props`, adjust the code accordingly:

    29:24  error  Unnecessarily quoted property 'hostname' found  quote-props
    32:29  error  Unnecessarily quoted property 'hostname' found  quote-props
2019-07-17 17:43:01 +02:00
Martin Pitt
d900a7231d
tasks: Drop issue-scan
This is now done by webhooks and AMQP.

Closes #195
2019-07-11 11:58:18 +02:00
Martin Pitt
acc7de2d6d cockpituous: Fix srpm Release:
Use release-srpm's `-V` option [1] so that the generated srpm will get a
proper changelog and Release "1" instead of "2".

[1] abb2bdb5

Closes #184
2019-06-12 09:54:42 +02:00
Martin Pitt
989e8c9301 Bump Cockpit test API to 195
No API changes.

Closes #181
2019-06-05 08:23:52 +02:00
Cockpituous
107ed4f82e package.json: Update node-sass package dependency
Closes #168
2019-05-01 20:29:15 +02:00
Cockpituous
418a690b9e package.json: Update @babel/polyfill package dependency
Closes #167
2019-04-28 10:49:15 +02:00
Cockpituous
018ec9d43c package.json: Update @babel/polyfill package dependency
Closes #160
2019-04-06 19:20:22 +02:00
Martin Pitt
fa7a430847 test: Remove redundant wait_present() calls (#159)
These are obsolete since
b1722f5b5d

Bump cockpit test API accordingly.

Closes #159
2019-04-03 16:59:13 +02:00
Martin Pitt
d3c41370c9 Bump Cockpit test API to 190
No API changes.

Closes #158
2019-04-03 11:36:31 +02:00
Cockpit Bots
026275122f package.json: Update react-dom package dependency
Closes #157
2019-04-02 21:12:44 +02:00
Cockpit Bots
ca20146dbe package.json: Update react package dependency
Closes #156
2019-03-30 19:52:08 +01:00
Cockpit Bots
dd18561c58 package.json: Update react package dependency
Closes #155
2019-03-27 08:25:31 +01:00
Cockpit Bots
0f9b7e1e46 package.json: Update react-dom package dependency
Closes #154
2019-03-23 23:31:07 +01:00
Cockpit Bots
d4808563b5 package.json: Update @babel/polyfill package dependency
Closes #153
2019-03-20 07:40:28 +01:00
Cockpit Bots
88f759d3e7 package.json: Update react package dependency
Closes #151
2019-03-14 08:03:48 +01:00
Cockpit Bots
220b7d7c4f package.json: Update react-dom package dependency
Closes #150
2019-03-11 07:53:00 +01:00
Martin Pitt
afda681f4a tasks: Minimize races filing issues for bots
We don't need to file or check for these issues on every iteration
through the .tasks script. These will count as "work done" and thus skip
the sleep (even though the "work" lasts only a split-second), and are
prone to creating duplicates.

Similar to af2e934a

Closes #147
2019-03-04 09:29:15 +01:00
Cockpit Bots
32f0e20ddb package.json: Update react-dom package dependency
Closes #131
2019-02-27 08:10:24 +01:00
Cockpit Bots
20cc5a2894 package.json: Update react package dependency
Closes #120
2019-02-24 08:08:08 +01:00
Cockpit Bots
d634cdd462 package.json: Update react package dependency
Closes #106
2019-02-20 23:30:10 +01:00
Cockpit Bots
0d1ca2d5a7 package.json: Update react-dom package dependency
Closes #105
2019-02-17 21:00:39 +01:00
Martin Pitt
e9db4448c9 Bump Cockpit test API to 187
No API changes.

Closes #103
2019-02-13 12:22:46 +01:00
Martin Pitt
a0d4171cc8 Validate AppStream metainfo during RPM build
This is a requirement in the Fedora packaging guidelines:
https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/#_app_data_validate_usage

Closes #102
2019-02-12 09:37:42 +01:00
Cockpit Bots
3ae93bd04e package.json: Update react package dependency
Closes #101
2019-02-11 14:07:49 +01:00
Cockpit Bots
d6e4c6be6e package.json: Update react-dom package dependency
Closes #100
2019-02-08 13:08:35 +01:00
Kyrylo Gliebov
1dd8711512 Add app-data-validate for metainfo.xml
Closes #82
2019-02-06 10:20:19 +01:00
Martin Pitt
f6430895c7
Move to latest eslint standard plugin
This fixes the three warnings that recently started to appear:

    [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard-react")
    [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "node_modules/eslint-config-standard-jsx/index.js")
    [ESLINT_LEGACY_OBJECT_REST_SPREAD] DeprecationWarning: The 'parserOptions.ecmaFeatures.experimentalObjectRestSpread' option is deprecated. Use 'parserOptions.ecmaVersion' instead. (found in "standard")

Closes #99
2019-02-06 09:48:55 +01:00
Bogdan Mustiata
2a2f99b6f0 React to hostname changes
Closes #94
2019-01-29 12:18:43 +01:00
Martin Pitt
891480366c
Bump Cockpit test API to 185
No API changes.

Closes #89
2019-01-29 11:54:51 +01:00
bmustiata
81096b95ca Support watching for changing code
Closes #93
2019-01-28 14:22:45 +01:00
Kirill Glebov
7b67b091f1 Add cockpit dependency
Closes #67
2019-01-17 16:45:15 +01:00
Cockpit Bots
a501ebb2bf package.json: Update @babel/polyfill package dependency (#76) 2018-12-31 13:11:37 +01:00
Cockpit Bots
00a9ba6814 package.json: Update react package dependency (#75) 2018-12-28 09:09:52 +01:00
Cockpit Bots
f475fff8f7 package.json: Update react-dom package dependency (#74) 2018-12-23 20:49:08 +01:00
Cockpit Bots
e107a82f2a package.json: Update react-dom package dependency
Closes #70
2018-12-14 17:12:21 +01:00
Cockpit Bots
02d631a18a package.json: Update node-sass package dependency
Closes #69
2018-12-11 15:15:13 +01:00
Cockpit Bots
4b3c740283 package.json: Update node-sass package dependency
Closes #68
2018-12-06 22:06:22 +01:00
Cockpit Bots
64d820c44f package.json: Update react package dependency (#66) 2018-12-03 21:13:16 +01:00
Marius Vollmer
c87b2839c1 Use specific versions in package.json
The Cockpit Bots will now propose updates.

Closes #54
2018-11-22 09:56:00 +01:00
Marius Vollmer
9e09cfb77f Ask the Cockpit Bots to propose updates for NPM modules 2018-11-09 13:12:46 +02:00
Martin Pitt
bb541d7506
Bump Cockpit test API to 181
No API changes.

Closes #52
2018-11-08 13:47:06 +01:00
Martin Pitt
5d73df67ee Bump React and chrome-remote-interface NPM dependencies
Closes #49
2018-10-29 10:23:01 +01:00
Kirill Glebov
d73a91232e Add eslint tasks and README
Closes #47
2018-09-27 13:40:08 +02:00
Martin Pitt
1da6473420 test: Really clean up test VM on image preparation
The previous fix (commit 6e05f5b483) only cleaned
test/images/$(TEST_OS), which is just a symlink to $(TEST_OS).qcow.
Clean the actual image as well.

Closes #46
2018-09-06 16:51:42 +02:00
Martin Pitt
6e05f5b483 test: Properly clean up test VM on image preparation
Remove the entire previous overlay instead of just removing the built
package. This ensures that there are no leftovers from previous
interactive debugging sessions.

This has already shown to lead to confusion in practice in
cockpit-podman.

Closes #44
2018-08-29 14:14:54 +02:00
Martin Pitt
fd59f8629b Fix make rpm for unreleased code
When the topmost commit isn't tagged, rpmbuild otherwise fails with

    error: line 2: Illegal char '-' (0x2d) in: Version: 176-1-g9101a30a

Replace the dashes from `git describe` with periods, to get a valid RPM
upstream version number.

Closes #45
2018-08-29 14:03:19 +02:00