Commit graph

307 commits

Author SHA1 Message Date
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
Martin Pitt
21e504403b Move to babel 7
Closes #41
2018-08-29 00:40:49 +02:00
Martin Pitt
8a73531374 Use full React instead of react-lite
This is the direction we are going in Cockpit, as react-lite falls
behind with API development and debuggability.

Closes #43
2018-08-29 00:40:16 +02:00
Martin Pitt
9fa5c6ab05 Properly initialize state of Application
This will otherwise crash with React 16.
2018-08-29 00:40:16 +02:00
Martin Pitt
842a380766 Move to webpack 4
This has uglification built in.

Closes #42
2018-08-29 00:37:18 +02:00
Martin Pitt
133badfa3d Enable a lot of eslint options and plugins
Taken rules from Cockpit, which have been proven to be effective for
finding bugs and keeping clean code, and sensible (not taking
unreasonable effort to satisfy).

Fix code layout in app.jsx accordingly.

Closes #39
2018-08-28 22:57:52 +02:00
Martin Pitt
3922333029 Use eslint for everything
eslint is much more powerful and flexible than jshint, and we don't want
to promote writing new projects with pre-ES6 code.

As a side effect, this also avoids downloading PhantomJS (see
https://github.com/jshint/jshint/issues/3318), thereby cutting down
node_modules/ from 470 MB to 210 MB.
2018-08-28 22:57:52 +02:00
Martin Pitt
da06135330 cockpituous-release: Show how to do Fedora uploads
Closes #40
2018-08-28 22:51:10 +02:00
Martin Pitt
b0fd338e4b Bump Cockpit test API to 176
No API changes.
2018-08-28 22:51:10 +02:00
Martin Pitt
959d743452 Drop Python3 build requirement
This is only being used for extracting the package name from package
json, to avoid having to duplicate it in `Makefile`.
But for only this purpose, Python 3 is rather heavyweight. It's also not
available on RHEL/CentOS 7.
2018-08-28 22:51:10 +02:00
Martin Pitt
0c7ff6a896 Fix license tag in spec file
https://fedoraproject.org/wiki/Licensing:Main?rd=Licensing#Good_Licenses
2018-08-28 22:51:10 +02:00
Martin Pitt
a26ef5d27c Simplify spec file
- Entirely drop `%build` section, as there is nothing to do anyway.
- Use `%make_install` macro.
- Replace the complicated file list wrangling with a simple directory
  enumeration.

Thanks to Igor Gnatenko for the suggestions!

See https://bugzilla.redhat.com/show_bug.cgi?id=1603146

Closes #38
2018-08-02 10:16:49 -04:00