There is a dev release for https://www.drupal.org/project/schema of 8.x-1.x. However, it's not showing on the project page.

I've checked that the checkbox for 'show on the downloads table' is enabled. I don't think there's anything else I'm missing.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joachim created an issue. See original summary.

ndf’s picture

Have the same problem with a different contrib module. https://www.drupal.org/project/commerce_mollie

I also added a recent related issue.

Maybe something changed recently on the Drupal.org side that causes this?

Note that I successfully managed to do this on August 4. That was for a different project. So I am kinda sure the 'Administer releases' behaved different then.

joachim’s picture

This is happening for https://www.drupal.org/project/scheduled_executable too.

It looks like maybe the -dev release isn't being shown for a branch when there is no fixed release on that branch.

I'm not sure why that change has been made though, as having a -dev release without yet having an alpha or beta release is quite a common state.

drumm’s picture

Assigned: Unassigned » drumm
Status: Active » Postponed (maintainer needs more info)
Related issues: +#2688127: Make automated testing results more prominent on project pages

The projects all only have dev releases:

With #2688127: Make automated testing results more prominent on project pages, dev releases are now grouped with their tagged release. That issue called for more information about the branch, and grouping the dev and tagged releases for the branch together.

As a side-effect, branches without a tagged release are currently not showing on the project page. If you tag a release, both will show on the project page.

I think this is okay for the average person visiting a project page. Unless you intend to be ready to help with development, or do a decent amount of testing, you probably do not want a dev release. Even if a release is only alpha quality, it is still good to encourage project maintainers to release early and often.

However, this was a side-effect, and would like to hear reasons to show these on project pages.

joachim’s picture

From my experience, if a project has no releases at all, not even a dev release, then it's not even got any code, or it's something that's been started and abandoned. Sure, you can tell from the number of commits & how recent they are that that isn't the case, but I still look for a dev release, and if one isn't there, I am less likely to investigate it further.

For my own projects, I do like to release something early, but sometimes I want a bit more time for things to settle before releasing even an alpha.

benjy’s picture

From my experience, if a project has no releases at all, not even a dev release, then it's not even got any code,

This is also how I see projects without even a dev release.

I'm on the fence about this, It doesn't make much sense when I have modules that now look like they have no code but at the same time I agree with encouraging maintainers to actually tag releases. Certainly helps when using composer.

Maybe we need to promote this change a little more, I had no idea until I created the issue in this queue?

joachim’s picture

> Maybe we need to promote this change a little more, I had no idea until I created the issue in this queue?

At the very least, the field on release nodes that says:

' Show in project’s download table when branch is supported '

needs to have its description changed, because at the moment, it's lying.

drumm’s picture

The output of Drupal Association Engineering sprint planning is at https://groups.google.com/a/association.drupal.org/forum/#!forum/changes. This previews our plan for each 2 weeks. Maybe more than most people will be interested in, but it beats following all the issue queues.

We’re currently highlighting deployed changes monthly at https://www.drupal.org/drupalorg/blog. There are some other changes nearby like #2277829: Project status tags are not well documented, so there will be some benefit from being rounded up together.

drumm’s picture

Show in project’s download table when branch is supported

Maybe this can be set to true all the time and hidden.

joachim’s picture

> Show in project’s download table when branch is supported

My point is that this is not always working!

All the projects linked to above have this set on their dev releases, and yet the dev release doesn't show in the download table because the project doesn't have a fixed release on the same branch.

So either the wording needs to be changed to explain you need a fixed release, or the old behaviour should be restored.

ndf’s picture

Personally I would prefer that a development version is still visible and downloadable even without a tagged release.
Why should it be hidden and only be availably via git?

drumm’s picture

Personally I would prefer that a development version is still visible and downloadable even without a tagged release.
Why should it be hidden and only be availably via git?

Releases not shown on the project page are downloadable. Click “All releases” toward the bottom of the page.

drumm’s picture

Status: Postponed (maintainer needs more info) » Active

So either the wording needs to be changed to explain you need a fixed release, or the old behaviour should be restored.

I meant hide the checkbox from the UI, so there is no wording to be incorrect. If there is a dev release to go with a tagged release on the project page, it would always show.

This would also make sure information about the dev branch, like testing results and future additions (such as “N commits ahead of {tagged release}” #2903259: Development version should only appear if different from tagged version) are always shown.

megan_m’s picture

I agree that dev releases should display on the project page. I have a project that only has a dev release, and that's mainly because I want to get some feedback from other users before doing a full release. But they're not going to be likely to try it out if it looks like there is nothing available to download. I think this would be the case with any new project, or any project working on a new major version. I've also found that a lot of dev releases, especially for Drupal 8, work fine.

If the message is that you should create an alpha release then that should be communicated better.

drumm’s picture

From the feedback here, along with #2903454: How to change the releases shown for download on a project's home page, I’m leaning toward adding back the dev releases section.

For implementing, I only hid that display. The tricky part will be filtering to show only dev branches without a tagged release, so none of them are shown twice.

greggles’s picture

I was confused by this new behavior as well.

If the message is that you should create an alpha release then that should be communicated better.

+1 to this. I'm fine with the change but it was pretty confusing to me. How about a message that shows to the maintainer that says something like "If you want your dev release to show on the project page then you need to create a tagged release (it can be an alpha or a beta, just has to be a tagged release)."

samuel.mortenson’s picture

This affects https://www.drupal.org/project/type_style, I noticed the issue awhile back but didn't circle back to the issue queue.

For implementing, I only hid that display. The tricky part will be filtering to show only dev branches without a tagged release, so none of them are shown twice.

This does sound a little awkward, but I think a layout like:

[8.x-2.0]
>[8.x-2.x-dev]
[8.x-1.0]
>[8.x-1.x-dev]
[8.x-3.x-dev]

[7.x-1.0]
>[7.x-1.x-dev]
[7.x-2.x-dev]

would work - basically keep major version (7/8) releases separate, then sort by default branch releases -> other tagged releases -> dev-without-stable releases. In the above example you wouldn't want 8.x-3.x-dev to be displayed above the tagged releases, and you also wouldn't want it displayed at the bottom of the release list. That's just my opinion, but I think the above example is a good test case.

thomasmurphy’s picture

Another up vote for putting back the link to dev modules.

  • drumm committed 1be53b0 on 7.x-3.x, dev
    Issue #2903354: Only show each dev release once
    
  • drumm committed bd700b2 on 7.x-3.x, dev
    Issue #2903354: Bring back dev releases on branches without tagged...
drumm’s picture

Status: Active » Fixed

Dev releases on branches without tagged releases are now back on project pages.

samuel.mortenson’s picture

Thank you @drumm!

joachim’s picture

Thanks!

ndf’s picture

Cool thanks a lot!

oadaeh’s picture

Thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

guy_schneerson’s picture

not sure if related but I can't work out why the stock module does not have a dev version visible for the 8 version https://www.drupal.org/project/commerce_stock
Does anyone know if its something I have not set up on the project?

greggles’s picture

FileSize
118.91 KB

See attached screenshot. I see commerce stock 8.x-1.x-dev on the release page - is that what you mean?

guy_schneerson’s picture

Hi, @greggles I figured it out or more accurately @bojanz did.
I needed to edit the dev version and tick a box "Show in project’s download table when branch is supported ".
If I would have read the thread more carefully would have known that :)