Veracity Q&A home login about faq

I'd like to see all the Stamps at once, so I can approve them.

I'd also like an easy way to add Stamps to the list, without having to make a fake work item and add them to it.

And the case sensitivity is making things a bit harder, I'd like to be able to consolidate "bug" and "Bug".

asked Feb 01 at 04:24

Grey's gravatar image

Grey
1263813


Unfortunately there's no way to see a list of all stamps from the web interface, today. You can do it with vscript, however.

Version control stamps:

$ vscript
> repo = sg.open_repo("veracity");
> stamps = repo.fetch_vc_stamps();
> print(sg.to_json__pretty_print(stamps));
> repo.close();
> quit();

Work item stamps:

$ vscript
> repo = sg.open_repo("veracity");
> zdb = new zingdb(repo, sg.dagnum.WORK_ITEMS);
> stamps = zingdb.query("stamp", ["name"]);
> print(sg.to_json__pretty_print(stamps));
> repo.close();
> quit();
link

answered Feb 02 at 08:45

Ian%20Olsen's gravatar image

Ian Olsen ♦♦
2.7k93355

edited Feb 02 at 08:47

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3

Asked: Feb 01 at 04:24

Seen: 337 times

Last updated: Feb 02 at 08:47

powered by OSQA