ceph / merfi

Finds and signs files with different signing tools (gpg, rpm-sign)
MIT License
3 stars 3 forks source link

RFE: better ISO filename default #15

Closed ktdreyer closed 9 years ago

ktdreyer commented 9 years ago

Currently if you don't specify --output to merfi iso the default ISO is simply named isofile.

Also, the "source directory" argument to merfi iso is optional. It defaults to cwd if the user does not give a directory argument.

This means I have to run it like so:

merfi iso Ceph-1.3.1-Ubuntu-x86_64-20150929.t.0 --output Ceph-1.3.1-Ubuntu-x86_64-20150929.t.0.iso

(... duplicating that long "Ceph-1.3..." string there)

We should make the "source directory" argument non-optional, and then always name the ISO after that directory by default (intead of isofile). This will allow me to run it like so:

merfi iso Ceph-1.3.1-Ubuntu-x86_64-20150929.t.0
ktdreyer commented 9 years ago

Looks like distill also appends -dvd to the ISO filename.

In other words, the following command:

merfi iso Ceph-1.3.1-Ubuntu-x86_64-20150929.t.0

should create a Ceph-1.3.1-Ubuntu-x86_64-20150929.t.0-dvd.iso file.