I originally proposed this at #93055: add project type-specific settings. Splitting this particular one off into a separate issue so we can move #322626: META: Package and version non-modules for download forward.

We need a separate default version_format setting for each project type. The logic inside project_release_get_version_format() should be:

- Use per-project override if defined
- Use per-project-type default if defined
- Fall back to site-wide default

Probably this should just be a fieldset with a set of text fields at admin/project/project-release-settings instead of the single text field we have now.

Comments

apaderno’s picture

Version: 6.x-1.x-dev » 7.x-2.x-dev
Issue summary: View changes
drumm’s picture

Status: Active » Closed (won't fix)

With semantic versioning on www.drupal.org, we’re setting this to !api#major%minor%patch#extra and doing what is really specific Drupal.org logic in https://git.drupalcode.org/project/drupalorg/-/blob/7.x-3.x/drupalorg_ve..., and that is a bit more specific than per-project-type.

So I don’t think we need this unless someone else has a real need for it.