Bug 1133525 - rpm-ostree rpm [list,diff] subcommands do not accept short form of refspec
Summary: rpm-ostree rpm [list,diff] subcommands do not accept short form of refspec
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Atomic
Classification: Retired
Component: rpm-ostree
Version: unspecified
Hardware: Unspecified
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Colin Walters
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1147383
TreeView+ depends on / blocked
 
Reported: 2014-08-25 11:11 UTC by Ladislav Jozsa
Modified: 2017-06-14 15:38 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-14 15:38:09 UTC
RHEL 7.3 requirements from Atomic Host:
Embargoed:


Attachments (Terms of Use)

Description Ladislav Jozsa 2014-08-25 11:11:55 UTC
Description of problem:
rpm-ostree rpm [list,diff] subcommands do not accept short form of refspec like git does.

-bash-4.3# rpm-ostree status
  TIMESTAMP (UTC)         ID             OSNAME                 REFSPEC                                                           
* 2014-08-24 20:14:08     88a3a17dd8     fedora-atomic-host     fedora-atomic:fedora-atomic/rawhide/x86_64/server/docker-host     
  2014-07-07 16:46:22     7b7b9fc79c     fedora-atomic-host     installmedia:fedora-atomic/rawhide/x86_64/server/docker-host      

-bash-4.3# rpm-ostree rpm list 88a3a17dd8
error: Refspec '88a3a17dd8' not found


Version-Release number of selected component (if applicable):
rpm-ostree 2014.105

How reproducible:
always

Steps to Reproduce:
1. Run aforementioned commands


Actual results:
Short form of refspec not accepted

Expected results:
Short form of refspec should be accepted

Additional info:

Comment 1 Colin Walters 2014-10-22 22:52:05 UTC
This is fixed now.

Comment 2 Dusty Mabe 2017-06-14 15:38:09 UTC
confirmed:

```
[root@vanilla-f25atomic ~]# rpm-ostree status
State: idle
Deployments:
● fedora-atomic:fedora-atomic/25/x86_64/docker-host
             Version: 25.137 (2017-06-04 23:31:40)
              Commit: 0ed61d7441eddf96e6a98de4f10f4675268c7888b6d2b8a405b8c21fe6c92d23
[root@vanilla-f25atomic ~]# rpm-ostree db list 0ed61d7 | wc -l
446
```


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