You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prior to basis_templates/v3.0, tags contained a checksum file. However more recent tags do not contain this file. Uploading and downloading very large binary files with svn is always a bit tricky, so the checksum file helps protect against corruption.
Here are some non-binding suggestions:
Include the checksum file, but use sha256sum and call it, e.g., basis_templates_v3.3.sha256sum. That is, include the tag in the name.
It would not be a bad idea to have a checksum file for trunk.
Create some automation for preparing basis_templates/trunk for tagging, including creating the checksum file, modifying basis_templates_trunk.sha256sum as needed.
Include the creation of the tag itself in the automation.
Include a post-tag "bump" that restores basis_templates_trunk.sha256sum.
Here's some code that illustrates this:
cd basis_templates/trunk
rm basis_templates_trunk.sha256sum
sha256sum *.fits > basis_templates_trunk.sha256sum
svn commit -m "Update checksum file"
svn rename basis_templates_trunk.sha256sum basis_templates_v3.3.sha256sum
svn commit -m "Prepare checksum file for next tag"
cd ..
svn copy trunk tags/v3.3
svn commit -m "Tagging basis_templates/v3.3"
cd trunk
svn rename basis_templates_v3.3.sha256sum basis_templates_trunk.sha256sum
svn commit -m "restore trunk checksum file after tag"
The text was updated successfully, but these errors were encountered:
This sounds good. I suggest wrapping that in a script, perhaps kept in basis_templates svn rather than desisim, for tagging + checksumming basis_templates correctly. We could use that to make a new tag just to cleanup the checksum situation for the most recent tag.
I think it's not inconceivable that we revisit the desisim infrastructure and develop new basis templates going into desi-2 and beyond, so I wouldn't count it out.
Prior to basis_templates/v3.0, tags contained a checksum file. However more recent tags do not contain this file. Uploading and downloading very large binary files with svn is always a bit tricky, so the checksum file helps protect against corruption.
Here are some non-binding suggestions:
sha256sum
and call it, e.g.,basis_templates_v3.3.sha256sum
. That is, include the tag in the name.basis_templates/trunk
for tagging, including creating the checksum file, modifyingbasis_templates_trunk.sha256sum
as needed.basis_templates_trunk.sha256sum
.Here's some code that illustrates this:
The text was updated successfully, but these errors were encountered: