Skip to content

Commit 251d759

Browse files
authored
Merge pull request #1 from aditosoftware/migrate-gitlab-to-github
chore: migrate from gitlab to GitHub
2 parents 772225d + a2d562c commit 251d759

File tree

15 files changed

+2759
-1088
lines changed

15 files changed

+2759
-1088
lines changed

.github/CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Assign the designer team the whole repository
2+
* @aditosoftware/devs-designer
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: Bug Report
2+
description: File a bug report.
3+
title: "[Bug]: "
4+
labels: ["bug"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to fill out this bug report!
10+
11+
⚠️ Do not share security issues here, instead use the **Report a vulnerability** in the security tab.
12+
- type: textarea
13+
id: what-happened
14+
attributes:
15+
label: What happened?
16+
description: Describe exactly what happened to have this bug appear.
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: expected-behavior
21+
attributes:
22+
label: Expected Behavior
23+
description: Describe what you expect to happen.
24+
validations:
25+
required: true
26+
- type: textarea
27+
id: reproduction-steps
28+
attributes:
29+
label: Steps to reproduce
30+
description: |
31+
Describe the steps to reproduce this bug.
32+
This will be automatically formatted into code, so no need for backticks.
33+
placeholder: |
34+
1.
35+
2.
36+
3.
37+
render: shell
38+
validations:
39+
required: true
40+
- type: textarea
41+
id: logs
42+
attributes:
43+
label: Relevant log output
44+
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
45+
render: shell
46+
validations:
47+
required: true
48+
- type: input
49+
id: os
50+
attributes:
51+
label: Operating System
52+
description: What OS are you using?
53+
placeholder: Windows 10, macOS 14.6.1, ubuntu 24, ...
54+
validations:
55+
required: true
56+
- type: input
57+
id: database-version
58+
attributes:
59+
label: Database type and version
60+
description: What database type and version are you using?
61+
placeholder: MariaDB 11.5, PostgreSQL 16.4, ...
62+
- type: input
63+
id: liquibase-version
64+
attributes:
65+
label: Liquibase version
66+
description: What version of vscode-liquibase are you using?
67+
placeholder: 1.0.2
68+
validations:
69+
required: true
70+
- type: input
71+
id: vscode-version
72+
attributes:
73+
label: VSCode version
74+
description: What version of VSCode are you using?
75+
placeholder: 1.93.0
76+
validations:
77+
required: true

.github/ISSUE_TEMPLATE/feature.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Feature Request
2+
description: Request a new feature.
3+
title: "[Feature]: "
4+
labels: ["enhancement"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to request a new feature!
10+
- type: textarea
11+
id: description
12+
attributes:
13+
label: Description
14+
description: Describe the feature here
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: implementation-ideas
19+
attributes:
20+
label: Implementation ideas
21+
description: If you have any implementation ideas, you can share them here.

.github/pull_request_template.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
2+
# Please check before merging
3+
4+
- [ ] Is the content of the `README.md` file still up-to-date?
5+
- [ ] Have you added an entry to the `CHANGELOG.md`?
6+
- [ ] Is the pull request title written in the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) format?
7+
- [ ] VSCode: Did you write e2e tests?
8+
- [ ] VSCode: Did you follow the [UX Guidelines](https://code.visualstudio.com/api/ux-guidelines/overview)?
9+
10+
# Description
11+
12+
Please describe your pull request.

.github/workflows/lint.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: ESLint
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
eslint:
8+
name: Run eslint scanning
9+
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
12+
security-events: write
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: npm ci
19+
20+
- name: Run ESLint
21+
run: npm run lint

.github/workflows/nodejs.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Build Project
2+
3+
on:
4+
pull_request:
5+
6+
jobs:
7+
build:
8+
strategy:
9+
matrix:
10+
# No windows runner, because in this extension, we have a lot of tests that need docker in the WSL.
11+
# Sadly, the setup-wsl (https://github.com/Vampire/setup-wsl) and the current windows runners only support WSL 1.
12+
# Therefore, we can not install and start a docker container in the WSL.
13+
14+
# Currently, no macOS runner, because during the setup of docker, this runner hangs: https://github.com/douglascamata/setup-docker-macos-action/issues/37
15+
os: [ubuntu-latest]
16+
node-version: [18.x, 20.x, 22.x]
17+
runs-on: ${{ matrix.os }}
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Set up Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
25+
- name: Set up JDK for Liquibase CLI
26+
uses: actions/setup-java@v4
27+
with:
28+
java-version: 21
29+
distribution: temurin
30+
31+
- name: Check Docker Version
32+
run: docker --version
33+
34+
- name: Check Node.js version
35+
run: node -v
36+
37+
- name: Check npm versions
38+
run: npm -v
39+
40+
- name: Run clean install
41+
run: npm ci
42+
43+
- run: xvfb-run -a npm test
44+
if: runner.os == 'Linux'
45+
- run: npm test
46+
if: runner.os != 'Linux'
47+
48+
- name: run e2e tests
49+
run: xvfb-run -a npm run test:e2e -- --storage ./out/test-resources/${{ matrix.os }}/${{ matrix.node-version }}
50+
if: runner.os == 'Linux'
51+
52+
- name: npm e2e tests
53+
run: npm run test:e2e -- --storage ./out/test-resources/${{ matrix.os }}/${{ matrix.node-version }}
54+
if: runner.os != 'Linux'
55+
56+
- name: "Upload e2e screenshots"
57+
if: always()
58+
uses: actions/upload-artifact@v4
59+
with:
60+
name: e2e-screenshots-${{ matrix.os }}-${{ matrix.node-version }}
61+
path: ./out/test-resources/**/screenshots/**
62+
retention-days: 5
63+
if-no-files-found: ignore

.gitlab/merge_request_templates/Default.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
},
99
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
1010
"typescript.tsc.autoDetect": "off",
11-
"sonarlint.connectedMode.project": {
12-
"connectionId": "SonarQube",
13-
"projectKey": "plattform-designer-vscode-liquibase"
14-
},
1511
"workbench.colorCustomizations": {
1612
"activityBar.activeBackground": "#88d042",
1713
"activityBar.background": "#88d042",

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,34 @@ All notable changes to the "Liquibase" extension will be documented in this file
44

55
The format is based on [Keep a Changelog](http://keepachangelog.com/) and and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## 1.0.2
8+
9+
### Added
10+
11+
- Added repository information to the package.json
12+
- Added images to README.md
13+
14+
### Changed
15+
16+
- Upgraded dependencies:
17+
- @aditosoftware/driver-dependencies to 1.0.4
18+
- @aditosoftware/vscode-input to 2.0.1
19+
- @aditosoftware/vscode-logging to 1.0.3
20+
- immer to 10.1.1
21+
- properties-file to 3.5.7
22+
- Upgraded devDependencies:
23+
- @types/chai to 4.3.19
24+
- @types/mocha to 10.0.8
25+
- @vscode/test-cli to 0.0.10
26+
- @vscode/test-electron to 2.4.1
27+
- concurrently to 9.0.1
28+
- mariadb to 3.3.1
29+
- rimraf to 6.0.1
30+
- sinon to 19.0.2
31+
- vscode-extension-tester to 8.7.0
32+
- webpack to 5.94.0
33+
- webpack-shell-plugin-next to 2.3.2"
34+
735
## 1.0.1
836

937
### Changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ You can later edit your configurations with the `Liquibase: Edit existing Liquib
2525
### Executing a command
2626

2727
All commands can be accessed from the "Liquibase" item in the status bar.
28+
29+
![Status bar item of Liquibase Extension](/media/walkthrough/statusBar.png)
30+
2831
You can also access all commands by using the the command palette. It can be accessed with the keyboard shortcut <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> (macOS <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>).
2932

3033
If you execute any command, you notice a general pattern of inputs. You will be always asked the following steps in this order:
@@ -49,7 +52,7 @@ Currently, the following Liquibase commands are supported:
4952
- [Create Tag](https://docs.liquibase.com/commands/utility/tag.html)
5053
- [Drop-all](https://docs.liquibase.com/commands/utility/drop-all.html)
5154
- [Generate Changelog](https://docs.liquibase.com/commands/inspection/generate-changelog.html)
52-
- [Generate database documentation (db-doc)](https://docs.liquibase.com/commands/utility/db-doc.html) - [more details in this documentation](#generate-database-documentation--getting-an-overview-about-your-database)
55+
- [Generate database documentation (db-doc)](https://docs.liquibase.com/commands/utility/db-doc.html) - [more details below](#generate-database-documentation--getting-an-overview-about-your-database)
5356
- [Generate SQL File for incoming changes](https://docs.liquibase.com/commands/update/update-sql.html)
5457
- [List all deployed changesets (history)](https://docs.liquibase.com/commands/change-tracking/history.html)
5558
- [List the not deployed changesets (status)](https://docs.liquibase.com/commands/change-tracking/status.html)
@@ -66,6 +69,8 @@ Every command that needs a changelog file, can be executed by right clicking on
6669

6770
Sometimes, you want to have an overview about your whole database. For this, we have a useful command in the status bar labeled _"Overview"_.
6871

72+
![Status bar item for the overview of Liquibase Extension](/media/walkthrough/statusBarOverview.png)
73+
6974
This will create an HTML report with a lot of useful information regarding your database and the changelogs.
7075

7176
You can see information about the current table structure, including columns and indexes.

0 commit comments

Comments
 (0)