lp:sosreport

Created by Adam Stokes on 2013-04-17 and last modified on 2019-03-22
Get this branch:
bzr branch lp:sosreport

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
sosreport
Project:
sosreport
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://github.com/sosreport/sosreport.git.

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on alnitak and finished 2 hours ago taking 20 seconds — see the log
Import started 8 hours ago on izar and finished 8 hours ago taking 20 seconds — see the log
Import started 14 hours ago on izar and finished 14 hours ago taking 15 seconds — see the log
Import started 20 hours ago on izar and finished 20 hours ago taking 20 seconds — see the log
Import started on 2019-03-23 on izar and finished on 2019-03-23 taking 20 seconds — see the log
Import started on 2019-03-23 on alnitak and finished on 2019-03-23 taking 20 seconds — see the log
Import started on 2019-03-22 on izar and finished on 2019-03-22 taking 20 seconds — see the log
Import started on 2019-03-22 on alnitak and finished on 2019-03-22 taking 20 seconds — see the log
Import started on 2019-03-22 on izar and finished on 2019-03-22 taking 25 seconds — see the log
Import started on 2019-03-22 on izar and finished on 2019-03-22 taking 20 seconds — see the log

Recent revisions

2700. By Bryn M. Reeves <email address hidden> on 2019-03-22

[Plugin] decode content read from file in do_file_sub()

Fixes: #1614

Signed-off-by: Bryn M. Reeves <email address hidden>

2699. By Bryn M. Reeves <email address hidden> on 2019-03-22

[Plugin] ensure the null predicate evaluates to True

A null predicate (one with no set predicates) must always evaluate
to True, or it will block all collection.

Signed-off-by: Bryn M. Reeves <email address hidden>

2698. By Bryn M. Reeves <email address hidden> on 2019-03-22

[Plugin] always use current predicate in log messages

The 'pred' local in collection methods is unused when a default
(command or plugin) predicate is in use. Always retrieve the
active predicate via get_predicate() when logging predicate
decisions.

Signed-off-by: Bryn M. Reeves <email address hidden>

2697. By Bryn M. Reeves <email address hidden> on 2019-03-22

[man] add --dry-run to sosreport.1

Signed-off-by: Bryn M. Reeves <email address hidden>

2696. By Bryn M. Reeves <email address hidden> on 2019-03-22

[npm] do not call self.archive.add_string() directly

No plugin code outside of Plugin (and other classes defined in
the plugin module itself) should ever access the archive directly:
this is so that metadata is created, limits are respected, and
predicates applied.

Correct npm to use self.add_string_as_file().

Signed-off-by: Bryn M. Reeves <email address hidden>

2695. By Bryn M. Reeves <email address hidden> on 2019-03-22

[unpackaged] check plugin predicate before processing packages

The unpackaged plugin is unusual in that it does a lot of costly
processing in Python, without ever calling out to an external
binary. This means that the normal, automatic predicate testing
hooks are not executed until we come to add the final string to
the archive (by which time we've already done all the work).

Make a special case for this plugin, and test the current plugin
predicate before operating on package lists.

Signed-off-by: Bryn M. Reeves <email address hidden>

2694. By Bryn M. Reeves <email address hidden> on 2019-03-22

[Plugin] factor out common code into Plugin.test_predicate()

Factor out the common steps to check the current predicate, and
use this from the API methods that require it.

Signed-off-by: Bryn M. Reeves <email address hidden>

2693. By Bryn M. Reeves <email address hidden> on 2019-03-22

[Plugin] accept predicates in Plugin.add_string_as_file()

Signed-off-by: Bryn M. Reeves <email address hidden>

2692. By Bryn M. Reeves <email address hidden> on 2019-03-22

[sos] Implement sosreport --dry-run

Signed-off-by: Bryn M. Reeves <email address hidden>

2691. By Bryn M. Reeves <email address hidden> on 2019-03-22

[docker] gate command collection on docker service predicate

Signed-off-by: Bryn M. Reeves <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers