I was recently attempting to make a development release of a project (FBOauth) and make this
development release available on the front of the projects page and downloadable quickly through drush.
I submitted this Bug Report and learned
how to do it. It was difficult for me to figure out how to do it on my own.
I have two bug fixes I'd like to have done to the Drupal.org site in order that someone else doesn't have to struggle with the same problem.
1. For all project pages where you edit releases (in this example, http://drupal.org/node/1131300/edit/releases for this project)
please rename "Show snapshot release" to be "Show Development Release Download link".
2. In the instructions for Version Control of all projects (in this example, https://www.drupal.org/project/fboauth/git-instructions for this project) , underneath the git instructions for creating a "Branch for a dev release" please include the following text:
"Note: In order to enable easy download of Development releases on the project page for this project, go to the Releases page and enable the checkbox for 'Show Development Release Download Link' for the relevant major versions of this project."
3. I'd suggest that by default, the checkbox for 'Show Development Release Download Link' would be best to be checked for all new projects that are created. In general, I believe that its useful for everyone to have quick access to development releases, although I can see where there are some times when someone would want to hide them.
Thanks for helping make Drupal.org more user friendly!
Comments
Comment #1
DarrellDuane CreditAttribution: DarrellDuane commentedComment #2
dddave CreditAttribution: dddave commentedComment #3
drummMost of these strings are in this module. I agree they should be changed.
Comment #4
hass CreditAttribution: hass commentedComment #5
drummLet's expand the scope of this. With semantic versioning, there is not necessarily one dev release per API compatibility of the project. For example, core's 8.1.x and 8.0.x.
This functionality can be replaced by a field on the release node itself.
We'll need an update script:
Comment #7
drummAdding the field has been committed to a branch. For the rest of the update script:
"hacky save" as in http://cgit.drupalcode.org/drupalorg/tree/drupalorg_project/drupalorg_pr.... I'm not sure how much this is abusing Drupal's APIs, but it seems to work and isn't calling private functions.
The data from
project_release_supported_versions
'ssnapshot
column should be copied over to the new field.Hiding the field on releases where
field_release_build_type
isstatic
can be done inproject_release_field_access
.Comment #10
drummThe remaining work is:
Comment #12
drummI think everything for this issue is handled, the Views work has been committed and I opened #2626694: Cleanup: remove project_release_supported_versions.snapshot column for cleanup.
Comment #14
drummThis has been deployed to Drupal.org.
Comment #15
hass CreditAttribution: hass commentedSnapshots are not releases. Ok, they are not done nightly only, but they are still snapshots of possibly totally unstable states that may change every few minutes with every commit.
Comment #16
hass CreditAttribution: hass commentedComment #17
drummDev releases I think "development release" is accurate. It is a release, and development or dev is the term used everywhere except for these corners of the UI that were inconsistent.