Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Although you can edit a device page in the hardware database just as you can any other Confluence page, you may find it more convenient to use makepage.py. This command repeatedly prompts for a page ID or sticker URL for a page that's a child of the page "Unused HWDB pages". It checks that the page title is of the form "Unused HWDB page n" where n is a positive integer. Once you've selected the page the command prompts you for serial number, device class and type reference and updates the page accordingly. You're then asked to where you want to move the page.

makepage.py will add a comment to the page giving the "date of birth", e.g., ""

bash-3.2$ dat/hwdb/makepage.py
Fill in unused hardware database pages in Confluence.
Type control-D or control-C at a prompt to terminate.
While making a page type a period to abort the page.

Confluence password for tether:

Enter page ID or URL from sticker: 165088620

Device class?
0 COB
1 RTM
2 FLASH
3 DPM
4 DTM
? 0

Type field (hw revision)?
0 PC_248_101_01_C05
1 PC_248_101_01_C06
2 PC_248_101_01_C07
? 2

Serial number? 690000007e910c70

Move page to?
0 Site SLAC Lab 1
1 Spares SLAC Lab 1
? 1

Enter page ID or URL from sticker: ^D