Opened 7 months ago

Closed 6 months ago

#1583 closed enhancement (fixed)

Improve release exporter scripts

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.54
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

The data release procedure include a lot of manual steps to make sure that the released data files are properly created with correct access permissions, etc. The file syncing scripts are auto-generated by reggie but they could do some more things:

  • Make sure that access permissions are what we want (read-only for owner and group)
  • Make sure that owner and group is correctly set (scanb:scanb_release)
  • Date+time on all files should be the same as for 'exportcomplete'

It would also be nice if the rsync.sh script could sync more than one file at a time.

Change History (2)

comment:1 by Nicklas Nordborg, 7 months ago

Just noticed that several commits referenced the wrong ticket number (#1573). Here is a summary:

In [7647]: Modified the release exporter so that data is saved in tab-separated files instead of in the script files.

In [7648]: Added finalize.sh script that can be used to set access permissions and dates on all released files.

In [7649]: Added support for syncing multiple files in parallel. The default is to use 3 threads. This can be changed by editing the generated rsync.sh script.

In [7650]: Fixes some minor issues in the script. Group permissions was missing but should now be correct.

comment:2 by Nicklas Nordborg, 6 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.