Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1133525

Summary: rpm-ostree rpm [list,diff] subcommands do not accept short form of refspec
Product: [Retired] Atomic Reporter: Ladislav Jozsa <ljozsa>
Component: rpm-ostreeAssignee: Colin Walters <walters>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dustymabe
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-14 15:38:09 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1147383    

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
```