Ticket #1048 (closed defect: fixed)

Opened 10 years ago

Last modified 10 years ago

cave print-repository-metadata --raw-name sync --format '%v\n' <repo> prefixes the output with "="

Reported by: Philantrop Owned by:
Priority: Sometime Milestone:
Component: clients/cave Version: scm
Keywords: Cc:
Blocked By: Blocking:
Distribution: Exherbo


[25. 11. 2010 19:39] <Philantrop> ciaranm: Oh, and you should fix this: cave print-repository-metadata --raw-name sync --format '%v\n' xfce -> = git://git.exherbo.org/xfce.git [25. 11. 2010 19:39] <Philantrop> ciaranm: Note the "=". [25. 11. 2010 19:39] <ciaranm> Philantrop: ticket!

(Cetero censeo, re-enable "no output" for single tasks!)

Change History

comment:1 Changed 10 years ago by ciaranm

The %v is in the form key=value. For syncs, we store it as a map of suffix label to sync URIs. We have a few options...

We could change the internal representation so 'sync' holds the raw, unparsed value, and 'sync_parsed' contains the actual value.

We could add in a whole load of fancy % things for handling sets, sequences and maps specially.

We could just drop the = if the key is empty.

Not sure which is best...

comment:2 Changed 10 years ago by ciaranm

  • Status changed from new to closed
  • Resolution set to fixed

For now we'll just drop the = for empty keys.

Note: See TracTickets for help on using tickets.