OER-WEB-TEAM / design-system--drupal-theme

1 stars 0 forks source link

Standardize naming convention for this project and branches and directory structure #30

Closed AlexVanK closed 6 months ago

AlexVanK commented 6 months ago

This project is a Drupal theme.

Upon downloading the repository, github automatically renames the folder within the .zip file with the name of the repository.

This creates problems upon first installation of the project.

Proposed solution. Re-imagine the file system structure from:

/THEMES
├── /bootstrap5
├── /nihod5
│      ├── .git
│      └── *.*
├── /nihod5__subtheme
│      └── *.*
└── *.*

to something like

/THEMES
├── /bootstrap5
├── /.git
├── /nihod5
├── /nihod5__subtheme
└── *.*

The important requirements are:

Questions:


Ideas are welcome

AlexVanK commented 6 months ago

Done ✔️

Repository now contains main branch 5.x.x + 5.x.x--subtheme branch. This architecture needs to be respected for each major release:

/REPOSITORY
├── 5.x.x
├── 5.x.x--subtheme
├── 6.x.x
├── 6.x.x--subtheme
└── etc.

this will be reflected on the development file system as:

/THEMES
├── NIHOD5
│      ├── .git
│      └── *.*
├── NIHOD5__subtheme
│      ├── .git
│      └── *.*
├── NIHOD6
│      ├── .git
│      └── *.*
├── NIHOD6__subtheme
│      ├── .git
│      └── *.*
└── etc.


Addressed somewhere else. Issue: #27

For now, ready-for-deployment theme folder needs to be provided as a binary .zip/tag.gz file. This file will have to be packaged up manually (for now).

Done. Point above solves this issue.