Commit graph

21 commits

Author SHA1 Message Date
Martin Pitt
42579dcdc3 Run tests with Python 3
Bump Cockpit test API to 171 for this, which made the test API
bilingual.

Closes #31
2018-07-02 17:37:20 +02:00
Martin Pitt
78c613e2fa Bump Cockpit test API to 170
No API changes.

Closes #30
2018-06-27 10:49:28 +02:00
Martin Pitt
f26741e269 Add git tag derived version to tarball and spec
Stop hardcoding the version in the spec file, and put the version into
dist tarballs.

Closes #27
2018-06-22 20:07:29 +02:00
Martin Pitt
47e02ef136 Add i18n for HTML and manifest 2018-06-19 18:09:57 +02:00
Martin Pitt
7ce7b2b40b Add i18n support
Make the "Running on.." string translatable and copy the extraction and
conversion of JSX and PO files from Cockpit.
2018-06-19 14:40:45 +02:00
Martin Pitt
21950771af Makefile: Drop hardcoded "starter-kit" references
We already parse the project name from the manifest.
2018-06-19 14:25:26 +02:00
Martin Pitt
1edb6a070b Remove some instances of "starter kit"
Rename some files and change some identifiers to be neutral to the
application name. This makes it simpler to change everything to a proper
name when cloning this project.

Document in the README how to find the remaining places to change.

Closes #20
2018-05-04 19:19:29 +02:00
Martin Pitt
26c7b80a19 Bump Cockpit test API to 167
No API changes.

Closes #21
2018-05-04 19:18:04 +02:00
Martin Pitt
b614b72939 build: Add a make vm convenience target
With this one does not need to type the full path to the VM. This is
useful to demonstrate how to use other test frameworks than cockpit's
test API.

Closes #19
2018-03-28 13:00:38 +02:00
Martin Pitt
099ac621b2 test: Use test/common Cockpit API from latest stable tag
Cockpit's testlib.py has no stable API guarantee, so check it out from a
stable tag instead of master. This should occasionally be bumped to stay
current.

Note that the same does not apply to bots/: Stable tags are useless
there as the old images get cleaned up. Also, testvm.py API needs to be
stable for Cockpit's own purposes already.

This needs to drop the slight git checkout optimization, but this also
makes the code more symmetric and easier to understand.

Closes #18
2018-03-10 14:54:40 +01:00
Martin Pitt
8e9cc58eef build: On-demand rebuilding and add "devel-install" target
Don't always rebuild on "make" (in the phony "all" target), but
introduce a real file target dist/index.js and its requisites. This gets
rid of the "install-only" target, which is very non-standard and would
not on an unbuilt tree anyway.

Also add a "devel-install" target that does the usual symlinking of the
built source tree into ~/.local/share/cockpit.

Closes #17
2018-03-09 12:18:57 +01:00
Martin Pitt
931e1be3c3 Add integration test using Cockpit test API
Closes #16
2018-03-09 10:13:03 +01:00
Martin Pitt
c99c9e2d38 Makefile: Run npm install when necessary
Also mark phony targets as such.
2018-03-09 10:13:03 +01:00
Lars Karlitski
b348bee798 Remove temporary build directories (#13) 2017-10-19 17:54:36 +02:00
Lars Karlitski
03217f7fe8 Consistently name everything [cockpit-]starter-kit (#14) 2017-10-19 17:54:12 +02:00
Lars Karlitski
6bfe20fdcc Dist using git ls-files
This makes sure we always include all files in the repository when
disting.

Obsoletes webpack-with-stats, which had a bug anyway: it wasn't
reporting jslint errors.
2017-10-18 19:12:56 +02:00
Lars Karlitski
dd765787e8 Remove all remaining mentions of "subscriptions" 2017-10-18 16:42:54 +02:00
Marius Vollmer
4aa750a0fe Improve source package slightly
This moves us one step closer to a normal source package.  The sources
are now unpacked and we run "make install".  We still don't build
since we don't have all the necessary tools.

Also, most importantly, the source tarball now includes our actual
sources in addition to the prebuilt binaries.
2017-09-11 10:43:48 +02:00
Dominik Perpeet
23f2f16715 Automatically minify js files for distribution 2017-07-26 10:33:14 +02:00
Dominik Perpeet
045fefb806 Add more rpm options to Makefile 2017-07-26 10:33:14 +02:00
Dominik Perpeet
6f4a5a62ae Add Makefile and spec file
This is to build an srpm and for convenience.

Options for make: all, clean, install, srpm
2017-06-20 07:41:52 -04:00