|
| 1 | +--- |
| 2 | +title: Development Flows | Collapse Launcher |
| 3 | +--- |
| 4 | + |
| 5 | +# Development Flows |
| 6 | +Any software development needs a certain flows on actions to do on each commits and releases. This section will explain how Collapse project handle commits and release publishing flows. |
| 7 | + |
| 8 | +::: tip |
| 9 | +If the images are too small to see, click on them to zoom. |
| 10 | +::: |
| 11 | + |
| 12 | +## Code Submission Flow |
| 13 | + |
| 14 | +<figure style="text-align: center"> |
| 15 | + <a> |
| 16 | + <img src='/img/docs/Collapse-gitScheme.svg' title="Collapse code repository scheme" alt="Collapse code repository scheme" loading="lazy" style="display: block; margin: 0 auto;" width="auto" data-zoomable> |
| 17 | + </a> |
| 18 | +</figure> |
| 19 | + |
| 20 | +::: info |
| 21 | +* Code quality scan (Qodana) on main branch runs every Sunday, Wednesday, and Friday |
| 22 | +* Qodana scan runs on every Feature/Fix Pull Requests with comment alerts |
| 23 | +* All submitted commits are scanned for vulnerability (Snyk) and Licence Compliance (FOSSA) |
| 24 | +* Main branch is locked for "Force Push" |
| 25 | +* Stable branch might get force pushed on what we called "Stable sync" where Stable branch gets matched with Main branch until the next major/minor Preview release |
| 26 | +::: |
| 27 | + |
| 28 | +## Release Publication Flow |
| 29 | + |
| 30 | +<figure style="text-align: center"> |
| 31 | + <a> |
| 32 | + <img src='/img/docs/Collapse-appPublication.svg' title="Collapse code repository scheme" alt="Collapse code repository scheme" loading="lazy" style="display: block; margin: 0 auto;" width="auto" data-zoomable> |
| 33 | + </a> |
| 34 | +</figure> |
| 35 | + |
| 36 | +::: info |
| 37 | +* Available CDNs: |
| 38 | + 1. GitHub (Main) |
| 39 | + 2. Cloudflare (Cloudfare R2, Southeast Asia region) |
| 40 | + 3. GitLab |
| 41 | + 4. CODING (Mainland China) |
| 42 | +* App Packer script can be inspected in [our release repository](https://github.com/CollapseLauncher/CollapseLauncher-ReleaseRepo/blob/main/pack_signed_velopack.bat) |
| 43 | +* Both Portable and Installer artifacts will be uploaded to [main repository 'Releases' section](https://github.com/CollapseLauncher/Collapse/releases) |
| 44 | +::: |
| 45 | + |
| 46 | +<script setup> |
| 47 | +import { onMounted } from 'vue'; |
| 48 | +import mediumZoom from 'medium-zoom'; |
| 49 | + |
| 50 | +onMounted(() => { |
| 51 | + const backgroundColor = getComputedStyle(document.documentElement).getPropertyValue('--vp-c-bg').trim(); |
| 52 | + mediumZoom('[data-zoomable]', { background: backgroundColor || '#fff' }); |
| 53 | +}); |
| 54 | +</script> |
| 55 | + |
| 56 | +<style> |
| 57 | + .medium-zoom-overlay { |
| 58 | + z-index: 10000 !important; |
| 59 | + background: var(--vp-c-bg) !important; |
| 60 | + } |
| 61 | + .medium-zoom-image--opened { |
| 62 | + z-index: 10001 !important; |
| 63 | + } |
| 64 | +</style> |
0 commit comments