Nuke the stable branch

This commit is contained in:
JeremyStar™ 2024-05-10 15:41:05 +02:00
parent f18daaad45
commit 7fadf79fae
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -23,7 +23,7 @@ You'll need to execute all commands in your project root.
::: :::
### Installing SUI ### Installing SUI
<Tabs groupId="git"> <Tabs groupId="git">
<TabItem value="direct-develop" label="Develop branch"> <TabItem value="direct-develop" label="Direct">
```bash ```bash
mkdir -p addons mkdir -p addons
git clone https://git.staropensource.de/StarOpenSource/SUI-distrib.git addons/SUI git clone https://git.staropensource.de/StarOpenSource/SUI-distrib.git addons/SUI
@ -31,15 +31,7 @@ cd SUI
git checkout develop git checkout develop
``` ```
</TabItem> </TabItem>
<TabItem value="direct-stable" label="Stable branch" default> <TabItem value="submodule-develop" label="Submodule">
```bash
mkdir -p addons
git clone https://git.staropensource.de/StarOpenSource/SUI-distrib.git addons/SUI
cd SUI
git checkout stable
```
</TabItem>
<TabItem value="submodule-develop" label="Develop branch (submodule)">
```bash ```bash
mkdir -p addons mkdir -p addons
git submodule add https://git.staropensource.de/StarOpenSource/SUI-distrib.git addons/SUI git submodule add https://git.staropensource.de/StarOpenSource/SUI-distrib.git addons/SUI
@ -47,30 +39,16 @@ cd SUI
git checkout develop git checkout develop
``` ```
</TabItem> </TabItem>
<TabItem value="submodule-stable" label="Stable branch (submodule)">
```bash
mkdir -p addons
git submodule add https://git.staropensource.de/StarOpenSource/SUI-distrib.git addons/SUI
cd SUI
git checkout stable
```
</TabItem>
</Tabs> </Tabs>
### Updating SUI ### Updating SUI
<Tabs groupId="git"> <Tabs groupId="git">
<TabItem value="direct-develop" label="Develop branch"> <TabItem value="direct-develop" label="Direct">
```bash ```bash
cd addons/SUI cd addons/SUI
git pull git pull
``` ```
</TabItem> </TabItem>
<TabItem value="direct-stable" label="Stable branch" default> <TabItem value="submodule-develop" label="Submodule">
```bash
cd addons/SUI
git pull
```
</TabItem>
<TabItem value="submodule-develop" label="Develop branch (submodule)">
```bash ```bash
cd addons/SUI cd addons/SUI
git pull origin develop git pull origin develop
@ -79,53 +57,4 @@ git add SUI
git commit -m "Update StarOpenSource UI" git commit -m "Update StarOpenSource UI"
``` ```
</TabItem> </TabItem>
<TabItem value="submodule-stable" label="Stable branch (submodule)">
```bash
cd addons/SUI
git pull origin stable
cd ..
git add SUI
git commit -m "Update StarOpenSource UI"
```
</TabItem>
</Tabs>
## Changing branches
:::warning
Changing branches can result in errors and missing features. We don't accept issues regarding switching branches, you will be on your own!
:::
<Tabs groupId="git-branch">
<TabItem value="direct-develop2stable" label="Develop » Stable">
```bash
cd addons/SUI
git fetch
git checkout stable
```
</TabItem>
<TabItem value="direct-stable2develop" label="Stable » Develop" default>
```bash
cd addons/SUI
git fetch
git checkout develop
```
</TabItem>
<TabItem value="submodule-develop2stable" label="Develop » Stable (submodule)">
```bash
cd addons/SUI
git fetch
git checkout stable
cd ..
git add SUI
git commit -m "Switch SUI branch from develop to stable"
```
</TabItem>
<TabItem value="submodule-stable2develop" label="Stable » Develop (submodule)">
```bash
cd addons/SUI
git fetch
git checkout develop
cd ..
git add SUI
git commit -m "Switch SUI branch from stable to develop"
```
</TabItem>
</Tabs> </Tabs>