Bug 1479353 - [RFE] subscription-manager list should provide an easier means to show subscriptions which start in the future
Summary: [RFE] subscription-manager list should provide an easier means to show subscr...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 2.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: William Poteat
QA Contact: John Sefler
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-08 12:15 UTC by Rich Jerrido
Modified: 2018-07-03 19:32 UTC (History)
4 users (show)

Fixed In Version: candlepin-2.3.1-1
Clone Of:
Environment:
Last Closed: 2018-02-26 18:57:40 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin candlepin pull 1862 0 None closed 1479353: Add 'after' flag to pool listing call to better find future … 2020-11-16 20:11:43 UTC
Github candlepin subscription-manager pull 1751 0 None closed 1479353: Add --after option to list command 2020-11-16 20:11:43 UTC

Description Rich Jerrido 2017-08-08 12:15:34 UTC
Description of problem:

As a user of subscription-manager, I would like a means to show ALL subscriptions which start in the future. 

Today, subscription-manager has the '--ondate' option, which provides (from the manual)


"Sets the date to use to search for active and available subscriptions. The default (if not explicitly passed) is today's date; using a later date looks for subscriptions which will be active then. This is only used with the --available option."


as a user there may be multiple subscriptions with differing start dates in the future, and I'd like to be able to show them all without needing to know an exact date that the subscription begins on . 

I am envisioning a command similar to 

subscription-manager list --all --available --after=YYYY-MM-DD


which would show all subscriptions which have a start date after the user-specified date. 

This would allow a user the easy means to show (for instance) 'any subs that start _after_ a renewal'

Comment 2 Chris Snyder 2017-12-21 21:39:49 UTC
Adding a PR with changes to implement this in subman.

Comment 3 John Sefler 2018-04-17 22:45:28 UTC
This candlepin feature will be consumable by subscription-manager-1.21.2-1


Note You need to log in before you can comment on or make changes to this bug.