Hi nameless emailer and other
Sorry for copy pasting my answer.
The safe bet would be to wait for this feature to be officially implemented. Although it is very unlikely that it will be included in the upcoming 6.4 which we've been meaning to release for ages now.
Alternatively, you could have a look at our workaround:
Note that this is a STATIC repo of a version of the 6.3 code. It is not in sync with the live offical dspace-6_x branch.
There are a few commits you would need on that branch, but the bulk of it is in this one:
What this modification does is enable a checkbox in when editing a collection (note, not when creating a new one) which, when checked, logs the uuid of the collection in a new table in the database, doi_collection.
When the doi-organiser cronjob is run it will check if the item's owning collection is in that table. This is then an on off switch for DOI minting and mean you can submit an item with DOI minting off, switch it on and submit an item that only gets a DOI.
This might or might not cause a complication when migrating to a future version of DSpace. Let me be clear, you can implement this at your own risk with no guarantees.
Best regards, Hrafn Malmquist
developer in the Digital Library Team, University of Edinburgh