| Summary: | rpm repo export start/end help text is misleading | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Mike McCune <mmccune> |
| Component: | user-experience | Assignee: | Sayli Karmarkar <skarmark> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.1.1 | CC: | cperry, skarmark |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | 2.3.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-12-09 14:32:02 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
This seems to be already fixed in the latest code.
$ pulp-admin rpm repo export run
Command: run
Description: triggers an immediate export of a repository
...
Publish Options
...
--start-date - start date for an incremental export; only content associated
with a repository on or after the given value will be included
in the exported repository; dates should be in standard ISO8601
format: "1970-01-01T00:00:00"
--end-date - end date for an incremental export; only content associated
with a repository on or before the given value will be included
in the exported repository; dates should be in standard ISO8601
format: "1970-01-01T00:00:00"
Moving to modified.
verified
[root@pulp-v2-server ~]# rpm -qa pulp-server
pulp-server-2.3.0-0.14.alpha.el6.noarch
[root@pulp-v2-server ~]#
[root@pulp-v2-server ~]# pulp-admin rpm repo export run
Command: run
Description: triggers an immediate export of a repository
Available Arguments:
--repo-id - (required) unique identifier; only alphanumeric, ., -, and _
allowed
--bg - if specified, the CLI process will end but the process will
continue on the server; the progress can be later displayed using
the status command
Publish Options
--export-dir - the full path to a directory; if specified, the repository will
be exported to the given directory instead of being placed in
ISOs and published via HTTP or HTTPS
--iso-prefix - prefix to use in the generated ISO name, default:
<repo-id>-<current_date>.iso
--iso-size - the maximum size, in MiB (1024 kiB), of each exported ISO; if
this is not specified, single layer DVD-sized ISOs are created
--start-date - start date for an incremental export; only content associated
with a repository on or after the given value will be included
in the exported repository; dates should be in standard ISO8601
format: "1970-01-01T00:00:00"
--end-date - end date for an incremental export; only content associated
with a repository on or before the given value will be included
in the exported repository; dates should be in standard ISO8601
format: "1970-01-01T00:00:00"
The following options are required but were not specified:
--repo-id
[root@pulp-v2-server ~]#
Pulp 2.3 released. |
If you read the help text for export it indicates the start and end dates are based on the issued date of the errata. This is incorrect as these dates are actually when the errata was *associated* with the repository # pulp-admin rpm repo export run --help [...] Publish Options --start-date - start date for errata export; only errata whose issued date is on or after the given value will be included in the generated iso; format: "2009-03-30 00:00:00" --end-date - end date for errata export; only errata whose issued date is on or before the given value will be included in the generated iso; format: "2011-03-30 00:00:00" This results in the user thinking he can examine the "Issue Date" of the errata to export ranges of content from a repository. Description: errata-package_Erratum description From: errata Id: RHEA-2012:6078 Issued: 2012-11-21 00:00:00 ideally the help text would explain that it is the associated date