jenkinsci / jenkinsci/subversion-plugin

[JENKINS-60291] Make "List subversion tags" show branches even if tags directory is missing from SVN.

Open
#1,527 0 comments 0 reactions 0 assignees View on GitHub
component:subversion-plugin imported-jira-issue priority:trivial resolution:unresolved
Dominant language
Java
Stars
131
Forks
275
Avg merge
12h 4m
Merged PRs (30d)
6

Description

This is related directly to JENKINS-44416">JENKINS-44416

Technically it's not a bug I suppose, as the functionality works as described:

"Notice that you can set the Repository URL field to a Subversion repository root rather than just pointing to a tags dir (ie, you can set it to https://svn.jenkins-ci.org rather than https://svn.jenkins-ci.org/tags). In that case, if this repository root contains the trunk, branches and tags folders, then the dropdown will allow the user to pick the trunk, or a branch, or a tag."

Can this be changed so that the children are seen correctly in the following cases?

Where the repository root contains:

trunk (works, trivially, of course, so don't break it)

trunk, branches (the case I stumbled upon: doesn't work)

trunk, tags (not tested)

trunk, branches, tags (works, as advertised, thanks!)

This would match the user's expectation (mine that picking branches should not depend on the existance of tags. I have repositories that often have tags but no branches or branches and no tags. I don't see why it's better to require all three for the dropdown to allow the user to pick them.

---
Originally reported by poleguy, imported from: Make "List subversion tags" show branches even if tags directory is missing from SVN.


  • status: Open
  • priority: Trivial
  • component(s): subversion-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20251212-090250

Raw content of original issue

This is related directly to JENKINS-44416

Technically it's not a bug I suppose, as the functionality works as described:

"Notice that you can set the Repository URL field to a Subversion repository root rather than just pointing to a tags dir (ie, you can set it to https://svn.jenkins-ci.org rather than https://svn.jenkins-ci.org/tags). In that case, if this repository root contains the trunk, branches and tags folders, then the dropdown will allow the user to pick the trunk, or a branch, or a tag."

Can this be changed so that the children are seen correctly in the following cases?

Where the repository root contains:

trunk (works, trivially, of course, so don't break it)

trunk, branches (the case I stumbled upon: doesn't work)

trunk, tags (not tested)

trunk, branches, tags (works, as advertised, thanks!)

This would match the user's expectation (mine that picking branches should not depend on the existance of tags. I have repositories that often have tags but no branches or branches and no tags. I don't see why it's better to require all three for the dropdown to allow the user to pick them.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.