Bug 474292

Summary: tarme does not detect currently used path on download.kde.org
Product: [Developer tools] releaseme Reporter: Ralf Habacker <ralf.habacker>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: normal CC: sitter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ralf Habacker 2023-09-08 10:58:33 UTC
SUMMARY
tarme generates a sysadmin request link at the end of tarball generation, specifying the path to the files to be released.    
... 

Please add x.y.z to bugs.kde.org product yyy

Target: stable/yyy


There are currently two variants for this path:
1. a subdirectory with the current version, e.g. https://download.kde.org/stable/kio-fuse/
2. without a subdirectory, e.g. https://download.kde.org/stable/arianna/ 

tarme currently cannot automatically detect this detail and always uses variant 2. which may be incorrect.
To set this path correctly, a manual determination of the used path scheme is necessary.

STEPS TO REPRODUCE
1. run tarme on a package to release for the product 'alkimia' and version 8.1.2 
2. inspect the generated url 

OBSERVED RESULT
In the generated sysadmin request there is 

Target: stable/alkimia

EXPECTED RESULT
where it should be

Target: stable/alkimia/8.1.2

SOFTWARE/OS VERSIONS
Linux: openSUSE_Tumbleweed 

ADDITIONAL INFORMATION
Comment 1 Ralf Habacker 2024-03-07 18:37:08 UTC
Git commit 0d9ec20dd44c4b1d6027b29fc9c24f4c6c897117 by Ralf Habacker.
Committed on 07/03/2024 at 18:35.
Pushed by habacker into branch 'master'.

Add note to choose correct target path

M  +6    -0    lib/releaseme/data/ticket_description.txt.erb [INFRASTRUCTURE]

https://invent.kde.org/sdk/releaseme/-/commit/0d9ec20dd44c4b1d6027b29fc9c24f4c6c897117