-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add release notes to published Dandiset #189
Comments
there was recent user inquiry on that. Pasting from the slack chat
related prior response from me was
|
this needs to first be done in dandi-schema. something like adding this to releaseNotes: str = Field(description="Comment for publishing") and then the UI needs to have a mandatory element related to this. |
FTR: @colleenjg also described this use case in dandi/dandi-cli#1291 |
I was wondering whether there are any updates on including release notes / descriptions to the dandiset versions? For our dandiset, I've now added our publications to our metadata. I'd like to publish this new version, but I'm keen to do this with release notes. Otherwise, I worry that people might incorrectly think that there are substantive changes to the content of the dandiset, and then be confused about which version to use. |
Unfortunately no usable updates yet -- this was kept in the backburner unfortunately... the "back" starts to burn ;) To expedite your case/release, I am thinking: we are working with BIDS standard to converge on it being usable for animal neurophys etc. BIDS standard reserves CHANGES file to annotate changes/releases. Should follow the CPAN notation notation. So I think, overall, we can adopt convention of having such a file in dandisets following our ad-hoc BIDS-inspired DANDI layout too. Later, when we do finally merge dandi/dandi-schema#185 and add web UI interface to enter etc -- we could extract from already existing CHANGES if any exist. We do have a "chicken/egg" issue here, and largely because our versions are automatically minted and time versioned, e.g. DANDI_DEVEL=1 dandi upload ...options you would use... --allow-any-path CHANGES and later we would make CHANGES considered automagically. WDYT @satra ? |
Thank you for taking the time to propose a detailed workaround! If you both think it's a good option, then I'm on board. I'll just need some additional guidance at the implementation stage. |
fine with me. |
I'm leaving a trace of my process here, in case others also want to add a changelog to their dataset. So, if I understand correctly, the idea is that I upload a CHANGES file to dandi, and then publish the new version of our dandiset on the same day, to make sure the minted DOI matches the version number I included in my file. So, for example, if I were planning to publish today: CHANGES file
Adding the CHANGES file to the dandiset A few more details
|
yes, but you must be in the dandiset folder with dandiset.yaml, so can do smth like dandi download --download dandiset.yaml https://dandiarchive.org/dandiset/000037
cd 000037
cp /somewhere/CHANGES .
DANDI_DEVEL=1 dandi upload --allow-any-path CHANGES
yes, according to https://bids-specification.readthedocs.io/en/stable/glossary.html#changes-files
yes
so far looks good to me and tons better than nothing ;-) |
Thank you @yarikoptic ! |
Done! Thank you for your detailed help making this happen @yarikoptic! |
Great, meanwhile I added explicit TODO in the original description of the issue to parse out CHANGES whenever we get metadata level support for them to associate with release metadata records. |
Resolve broken backend CI tests (linting, pytest, type hints)
to relate to git
commit
ortag -a
- it would be useful to everyone to let users annotate their published versions: what has changed and whyshould probably be some freeform TEXT blob of some smallish size
it would allow to establish a "changelog" for each dandiset (not just some not-so-informative versions)
probably should not be mandatory but I am ok to make it such: that could help to avoid users to unnecessarily mint versions
like git commit message it is IMHO ok to have it immutable thus no need to expose some "edit" functionality via API
Ideally web ui, upon Publish should provide a pane with "Publish" and "Cancel" buttons which would have
which disappears as soon as the user starts typing; or simply two separate TEXT boxes
(everything easily computable from prior and draft version list of assets), and if that would be expanadable tree showing details (assets paths, diff for dandiset metadata change) -- that would be truly useful!
TODOs:
The text was updated successfully, but these errors were encountered: