]>
git.ipfire.org Git - thirdparty/snapper.git/log
Martin Vidner [Tue, 17 Dec 2019 10:20:29 +0000 (11:20 +0100)]
Unify shell options
Martin Vidner [Tue, 17 Dec 2019 09:59:27 +0000 (10:59 +0100)]
Copyright and license headers (GPL-2.0-only)
Martin Vidner [Tue, 17 Dec 2019 09:41:23 +0000 (10:41 +0100)]
Whitespace cleanup
Martin Vidner [Tue, 17 Dec 2019 09:37:20 +0000 (10:37 +0100)]
Added missing header guards
Martin Vidner [Mon, 16 Dec 2019 14:33:01 +0000 (15:33 +0100)]
Deal with .vscode in my user config
Martin Vidner [Fri, 13 Dec 2019 15:40:53 +0000 (16:40 +0100)]
Debian does not pull in libxml2 via libsnapper?!
Martin Vidner [Fri, 13 Dec 2019 14:40:54 +0000 (15:40 +0100)]
Use snapper::Regex instead of boost::regex (both use POSIX ERE).
Document the syntax in the conf file
Martin Vidner [Fri, 13 Dec 2019 12:16:33 +0000 (13:16 +0100)]
Split off regex matching, add a test for it
Martin Vidner [Wed, 11 Dec 2019 13:54:58 +0000 (14:54 +0100)]
Using json-c instead of rapidjson
https://github.com/json-c/json-c
Already in SLE, is also a dependency for systemd via libcryptsetup.
Martin Vidner [Wed, 11 Dec 2019 12:49:54 +0000 (13:49 +0100)]
Phase::BEFORE and AFTER instead of "todo".
Martin Vidner [Tue, 10 Dec 2019 12:50:00 +0000 (13:50 +0100)]
Test with TAP by comparing error strings
Martin Vidner [Tue, 10 Dec 2019 09:29:31 +0000 (10:29 +0100)]
Using the TAP driver for automake
TAP is http://testanything.org/ .
This file is copied from /usr/share/automake-1.16/tap-driver.sh because:
> Currently, the TAP driver that comes with Automake requires some by-hand
> steps on the developer’s part (this situation should hopefully be improved
> in future Automake versions). You’ll have to grab the tap-driver.sh script
> from the Automake distribution by hand, copy it in your source tree, ...
https://www.gnu.org/software/automake/manual/html_node/Use-TAP-with-the-Automake-test-harness.html
Martin Vidner [Mon, 9 Dec 2019 15:13:37 +0000 (16:13 +0100)]
Log to stderr instead of snapper.log
that way it
- ends up in y2log or zypper.log
- can be matched for expected errors in the testsuite
Martin Vidner [Mon, 9 Dec 2019 14:59:27 +0000 (15:59 +0100)]
Explain ProgramOptions
Martin Vidner [Mon, 9 Dec 2019 14:58:54 +0000 (15:58 +0100)]
getValue returns true/false
consistently with other functions
Martin Vidner [Mon, 9 Dec 2019 09:37:40 +0000 (10:37 +0100)]
Test failing code paths
Martin Vidner [Fri, 6 Dec 2019 14:55:37 +0000 (15:55 +0100)]
More debug logging
Martin Vidner [Fri, 6 Dec 2019 14:12:01 +0000 (15:12 +0100)]
Do parser the zypp supplied userdata
https://fate.suse.com/312521
Martin Vidner [Fri, 6 Dec 2019 12:48:18 +0000 (13:48 +0100)]
Use range-based-for
Martin Vidner [Fri, 6 Dec 2019 12:39:50 +0000 (13:39 +0100)]
The "match" attribute of the "solvable" element is mandatory
and omitting it means skipping that match pattern.
Also using uppercase for the enum values.
Martin Vidner [Fri, 6 Dec 2019 10:23:17 +0000 (11:23 +0100)]
version + changelog
Martin Vidner [Thu, 5 Dec 2019 14:09:53 +0000 (15:09 +0100)]
Ensure there is a DBus session for the tests
see man dbus-run-session
Martin Vidner [Thu, 5 Dec 2019 09:58:50 +0000 (10:58 +0100)]
Run the zypp-plugin tests
The tests need rubygem ruby-dbus
but we're not adding a build time dependency in the RPM spec file,
instead putting it to the Docker images used in Travis
Martin Vidner [Wed, 4 Dec 2019 15:03:09 +0000 (16:03 +0100)]
Functional test of snapper-zypp-plugin
Martin Vidner [Tue, 3 Dec 2019 12:31:56 +0000 (13:31 +0100)]
Add environment variables to work on a testing setup
$SNAPPER_ZYPP_PLUGIN_CONFIG instead of "/etc/snapper/zypp-plugin.conf",
$SNAPPER_ZYPP_PLUGIN_SNAPPER_CONFIG" instead of "root"
Martin Vidner [Mon, 11 Nov 2019 15:07:45 +0000 (16:07 +0100)]
Honor --disable-zypp by not building the plugin
Martin Vidner [Mon, 11 Nov 2019 10:25:30 +0000 (11:25 +0100)]
Find libxml2 portably
Martin Vidner [Wed, 6 Nov 2019 14:40:13 +0000 (15:40 +0100)]
Parse and apply /etc/snapper/zypp-plugin.conf
Martin Vidner [Thu, 7 Nov 2019 11:13:28 +0000 (12:13 +0100)]
Fixed getChildNode, getChildNodes, getChildValue
to actually act on children. Previously they acted on siblings.
Martin Vidner [Fri, 1 Nov 2019 16:32:55 +0000 (17:32 +0100)]
Recognize _DISCONNECT
Martin Vidner [Fri, 1 Nov 2019 16:08:45 +0000 (17:08 +0100)]
Parse headers
Martin Vidner [Fri, 1 Nov 2019 13:24:48 +0000 (14:24 +0100)]
Use the snapper logger
Martin Vidner [Wed, 30 Oct 2019 15:09:49 +0000 (16:09 +0100)]
Parse transaction solvables with RapidJSON
TODO: rake osc:build to fix the dependencies
Martin Vidner [Wed, 30 Oct 2019 13:17:26 +0000 (14:17 +0100)]
'override' keywords everywhere
Martin Vidner [Wed, 30 Oct 2019 13:17:05 +0000 (14:17 +0100)]
Added override keywords
only where needed by snapper_zypp_plugin
Martin Vidner [Wed, 30 Oct 2019 12:30:04 +0000 (13:30 +0100)]
Use libclient
Martin Vidner [Wed, 30 Oct 2019 12:25:19 +0000 (13:25 +0100)]
Put DBus calls to a helper library
so that SnapperZyppPlugin can use them
Martin Vidner [Wed, 30 Oct 2019 10:20:26 +0000 (11:20 +0100)]
Split off classes into files
Martin Vidner [Wed, 30 Oct 2019 10:19:13 +0000 (11:19 +0100)]
Ignore VS Code config
Martin Vidner [Tue, 29 Oct 2019 16:04:35 +0000 (17:04 +0100)]
call all other DBus commands
Martin Vidner [Tue, 29 Oct 2019 12:25:06 +0000 (13:25 +0100)]
actually call DBus
using the Hihi library
Martin Vidner [Tue, 29 Oct 2019 11:39:00 +0000 (12:39 +0100)]
more logging
Martin Vidner [Tue, 29 Oct 2019 10:03:18 +0000 (11:03 +0100)]
skeleton of commit_begin
Martin Vidner [Thu, 24 Oct 2019 15:03:25 +0000 (17:03 +0200)]
Use the override keyword
Effective Modern C++, Item 12: Declare overriding functions `override`
Martin Vidner [Thu, 24 Oct 2019 09:06:55 +0000 (11:06 +0200)]
pull in boost_regex
Martin Vidner [Thu, 24 Oct 2019 08:43:42 +0000 (10:43 +0200)]
Parser compiles and does not crash
try:
printf "PLUGINBEGIN\nki:velu\nuserdata:juzrdata\n\nbadi\0NAUVOT\n\n" | ./zypp-plugin/snapper-zypp-plugin
Martin Vidner [Wed, 23 Oct 2019 13:58:53 +0000 (15:58 +0200)]
Stomp protocol basics (WIP)
Martin Vidner [Wed, 23 Oct 2019 08:41:42 +0000 (10:41 +0200)]
Remove the Python zypp plugin (JSC#SLE-10500)
Martin Vidner [Wed, 23 Oct 2019 08:38:31 +0000 (10:38 +0200)]
Add snapper-zypp-plugin in C++ (JSC#SLE-10500)
just a stub
Jaanus Ojangu [Sun, 1 Dec 2019 17:50:34 +0000 (17:50 +0000)]
Translated using Weblate (Estonian)
Currently translated at 100.0% (205 of 205 strings)
Jaanus Ojangu [Sun, 1 Dec 2019 12:28:05 +0000 (12:28 +0000)]
Translated using Weblate (Estonian)
Currently translated at 80.0% (164 of 205 strings)
Jaanus Ojangu [Sun, 1 Dec 2019 08:39:21 +0000 (08:39 +0000)]
Translated using Weblate (Estonian)
Currently translated at 47.8% (98 of 205 strings)
Jaanus Ojangu [Sat, 30 Nov 2019 07:24:54 +0000 (07:24 +0000)]
Translated using Weblate (Estonian)
Currently translated at 42.4% (87 of 205 strings)
Martin Vidner [Fri, 29 Nov 2019 08:58:39 +0000 (09:58 +0100)]
Merge pull request #504 from openSUSE/integration-test
Integration test
Kimmo Kujansuu [Thu, 28 Nov 2019 19:10:55 +0000 (19:10 +0000)]
Translated using Weblate (Finnish)
Currently translated at 100.0% (205 of 205 strings)
Martin Vidner [Thu, 28 Nov 2019 13:31:06 +0000 (14:31 +0100)]
Better comments, TAP conformance
This test has been quickly and dirtily converted to TAP,
the Test Anything Protocol, http://testanything.org/tap-specification.html
Martin Vidner [Thu, 28 Nov 2019 12:40:18 +0000 (13:40 +0100)]
Include snapshot deletion in the integration tests
David Medina [Wed, 27 Nov 2019 16:51:29 +0000 (16:51 +0000)]
Translated using Weblate (Catalan)
Currently translated at 100.0% (205 of 205 strings)
Martin Vidner [Wed, 27 Nov 2019 09:28:11 +0000 (10:28 +0100)]
Use a sparse file for the filesystem image
Martin Vidner [Tue, 26 Nov 2019 14:34:37 +0000 (15:34 +0100)]
Testsuite packaging
Martin Vidner [Fri, 15 Nov 2019 09:40:12 +0000 (10:40 +0100)]
Integration test
Arvin Schnell [Tue, 26 Nov 2019 09:19:55 +0000 (10:19 +0100)]
Merge pull request #506 from maxice8/fix-musl
Import some musl fixes from Alpine Linux
Jaanus Ojangu [Sun, 24 Nov 2019 19:16:36 +0000 (19:16 +0000)]
Translated using Weblate (Estonian)
Currently translated at 36.6% (75 of 205 strings)
Leo [Sun, 24 Nov 2019 19:00:32 +0000 (20:00 +0100)]
Correct location of poll.h include
Leo [Sun, 24 Nov 2019 18:59:54 +0000 (19:59 +0100)]
Define Glibc specific __isleap when it is not defined.
Leo [Sun, 24 Nov 2019 18:59:26 +0000 (19:59 +0100)]
Add missing include for sys/types.h
Leo [Sun, 24 Nov 2019 18:58:59 +0000 (19:58 +0100)]
Add missing include of fcntl.h for mode_t
Jaanus Ojangu [Sun, 24 Nov 2019 08:37:32 +0000 (08:37 +0000)]
Translated using Weblate (Estonian)
Currently translated at 20.5% (42 of 205 strings)
José Iván López [Wed, 6 Nov 2019 10:23:20 +0000 (10:23 +0000)]
Merge pull request #494 from joseivanlopez/machine_readable_output
Machine-readable output
José Iván López [Wed, 6 Nov 2019 08:42:06 +0000 (08:42 +0000)]
Add control char escapes
Co-Authored-By: Martin Vidner <martin@vidner.net>
José Iván López González [Tue, 5 Nov 2019 16:02:36 +0000 (16:02 +0000)]
Do not use null for empty json strings
José Iván López González [Tue, 5 Nov 2019 16:01:30 +0000 (16:01 +0000)]
Escape line breaks in json
José Iván López González [Tue, 5 Nov 2019 11:38:25 +0000 (11:38 +0000)]
Improve manual
Co-authored-by: Martin Vidner <mvidner@suse.cz>
Jaanus Ojangu [Sun, 3 Nov 2019 17:53:49 +0000 (17:53 +0000)]
Translated using Weblate (Estonian)
Currently translated at 3.4% (7 of 205 strings)
Antoine Belvire [Fri, 1 Nov 2019 19:42:01 +0000 (19:42 +0000)]
Translated using Weblate (French)
Currently translated at 100.0% (205 of 205 strings)
José Iván López González [Wed, 30 Oct 2019 23:23:36 +0000 (23:23 +0000)]
Update manual
José Iván López González [Wed, 30 Oct 2019 23:23:08 +0000 (23:23 +0000)]
Update version and changelog
José Iván López González [Wed, 30 Oct 2019 23:22:32 +0000 (23:22 +0000)]
Adapt configuration
José Iván López González [Wed, 30 Oct 2019 23:21:56 +0000 (23:21 +0000)]
Adapt snapper client
José Iván López González [Wed, 30 Oct 2019 23:19:29 +0000 (23:19 +0000)]
Add GetConfig command
José Iván López González [Wed, 30 Oct 2019 23:18:19 +0000 (23:18 +0000)]
Add ListConfigs command
José Iván López González [Wed, 30 Oct 2019 23:16:26 +0000 (23:16 +0000)]
Add ListSnapshots command
José Iván López González [Wed, 30 Oct 2019 23:13:47 +0000 (23:13 +0000)]
Add formatters
José Iván López González [Wed, 30 Oct 2019 23:12:29 +0000 (23:12 +0000)]
Add Command base class
Kukuh Syafaat [Tue, 29 Oct 2019 05:51:07 +0000 (05:51 +0000)]
Translated using Weblate (Indonesian)
Currently translated at 100.0% (205 of 205 strings)
Aleš Kastner [Thu, 24 Oct 2019 13:03:07 +0000 (13:03 +0000)]
Translated using Weblate (Czech)
Currently translated at 100.0% (205 of 205 strings)
José Iván López González [Fri, 4 Oct 2019 15:18:51 +0000 (16:18 +0100)]
Add editorconfig file
Martin Vidner [Wed, 16 Oct 2019 10:10:30 +0000 (12:10 +0200)]
Merge pull request #496 from openSUSE/config-comments
Allow trailing comments in configs (bsc#
1005342 )
scootergrisen [Tue, 15 Oct 2019 20:00:59 +0000 (20:00 +0000)]
Translated using Weblate (Danish)
Currently translated at 100.0% (205 of 205 strings)
Ferdinand Galko [Tue, 15 Oct 2019 17:16:30 +0000 (17:16 +0000)]
Translated using Weblate (Slovak)
Currently translated at 100.0% (205 of 205 strings)
Rodrigo Macedo [Tue, 15 Oct 2019 11:52:35 +0000 (11:52 +0000)]
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (205 of 205 strings)
Yasuhiko Kamata [Tue, 15 Oct 2019 10:57:07 +0000 (10:57 +0000)]
Translated using Weblate (Japanese)
Currently translated at 100.0% (205 of 205 strings)
Sarah Kriesch [Tue, 15 Oct 2019 10:21:20 +0000 (10:21 +0000)]
Translated using Weblate (German)
Currently translated at 100.0% (205 of 205 strings)
Freek de Kruijf [Tue, 15 Oct 2019 10:26:19 +0000 (10:26 +0000)]
Translated using Weblate (Dutch)
Currently translated at 100.0% (205 of 205 strings)
David Medina [Tue, 15 Oct 2019 10:09:14 +0000 (10:09 +0000)]
Translated using Weblate (Catalan)
Currently translated at 100.0% (205 of 205 strings)
Martin Vidner [Tue, 15 Oct 2019 13:32:40 +0000 (15:32 +0200)]
version + changelog
Martin Vidner [Tue, 15 Oct 2019 13:28:50 +0000 (15:28 +0200)]
Make README more readable even without rendering [ci skip]
fit in 80 columns
move URLs out of text
Martin Vidner [Tue, 15 Oct 2019 09:28:24 +0000 (11:28 +0200)]
Run tests with VERBOSE so that failure details are shown
Martin Vidner [Tue, 15 Oct 2019 08:51:37 +0000 (10:51 +0200)]
Fix setValue
Martin Vidner [Tue, 15 Oct 2019 08:41:22 +0000 (10:41 +0200)]
Test preserving comments on setValue