scripts: Introduce organized directory structure with conventions #12936
No reviewers
Labels
No labels
after freeze
automation
backlog
blocked
change-ack
change-nak
change-noreleng
changes
Closed As
Can't Fix
Closed As
Duplicate
Closed As
Fixed
Closed As
Fixed with Explanation
Closed As
Get back later
Closed As
Grooming
Closed As
Insufficient data
Closed As
Invalid
Closed As
It's all good
Closed As
taiga
Closed As
upstream
day-to-day
dev
docs
easyfix
epel
f26
f27
f28
f29
f30
f31
f32
f33
f34
f35
f36
f37
f38
f39
f40
f41
f42
f43
f44
f45
fedora
groomed
high-gain
high-trouble
in-progress
in-review
investigation
legal
low-gain
low-trouble
mass rebuild
medium-gain
medium-trouble
meeting
mini-initiative
new_artifact
ops
pdc_retirement
rawhide
RCA
review
script
sidetarget
sprint-0
sprint-1
sprint-2
sprint-3
sprint-4
sprint-5
unfrozen
waiting on external
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
releng/tickets!12936
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "releng_improv_pt2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Introduce Organized Scripts Directory Structure
Overview
This PR introduces a new, organized directory structure for the
scripts/calledscripts_new/directory to address long-standing maintainability issues and prepare for systematic script migration.Current Problems Addressed
1. Poor Organization
2. Obsolete Content Removal
New Structure Introduced
As per the issue: https://pagure.io/releng/issue/12925, the scripts_new directory is introduced, so when the migration happens this will become the scripts directory again.
Standards Established
CONVENTIONS.md (have been introduced in the new directory structure for uniformity)
snake_casewith mandatory extensions (.py,.sh)lowercase-with-hyphensDocumentation
Migration Strategy
Phase 1 (This PR) - @jnsamyak
Phase 2 (Upcoming)
Ticket 1: Scripts Directory Restructuring Research - Build & Release Processes (Part 1/2) #12934
Ticket 2: Scripts Directory Restructuring Research - Build & Release Processes (Part 1/2) #12935
Phase 3 (Future)
Things to review:
This foundation enables systematic improvement of our release engineering tooling while maintaining full backward compatibility. The new structure will make the releng repository more maintainable and accessible for current and future contributors.
Related Issues
/cc @fedora-releng-team
rebased onto
f9357b1e20Seems ok, but a few minor comments:
Are you sure you want to make a new tree and then keep symlinks for 6 months? IMHO it just means that when we drop those we have to fix anything that breaks instead of just doing it right now when it's in mind. (Although, not in freeze please...).
I'm a little unclear on if the compatiblity stuff is a link or a wrapper? it describes both, but it can't be both?
Do we need all those .gitignore files in subdirs? perhaps just one at the top level?
Thanks for working on this. Some feedback:
NO, waiting for six months, I'm just creating this structure to take the place of scripts after the freeze is done. And, yes, I'm also in favour of fixing it now, then in the future. I have just added the directory structure in order to copy the contents now, and just move the script directory to the new one at that time.
I gave it a thought, and we should just drop that, it will not require if we will not do the 6 month of grace waiting. I tried generating it using cursor module by giving it reference of other fedora repos, and I think it caught that, and my changes on the top of it got lost. I'll correct those up
Yeah! Make sense, I have addressed it above. Anyways point of keeping it verbose (not this much) was I was asked to write as much as nitty gritty details for other releng associates.
It is a good suggestion, can you also add it at https://pagure.io/releng/issue/12925,
rebased onto
f9357b1e20rebased onto
f9357b1e20rebased onto
f9357b1e20rebased onto
f9357b1e20Addressed it here: https://pagure.io/releng/issue/12925#comment-984959
rebased onto
f9357b1e20Merging this here, so we can move things along the way - and as always this is a first iteration, and more improvement will be welcome along the way.
Merging this here, so we can move things along the way - and as always this is a first iteration, and more improvement will be welcome along the way.
Pull-Request has been merged by jnsamyak
Metadata Update from @jnsamyak: