fix initRepo command
This commit is contained in:
parent
39c940c677
commit
eb60dad55e
5 changed files with 19 additions and 7 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
||||||
node_modules
|
node_modules
|
||||||
.vscode-test/
|
.vscode-test/
|
||||||
*.vsix
|
*.vsix
|
||||||
|
.vscode/bookmarks.json
|
||||||
14
CHANGELOG.md
14
CHANGELOG.md
|
|
@ -6,7 +6,6 @@
|
||||||
- Upload only active file
|
- Upload only active file
|
||||||
- Make it possible to receive a webhook to send info to user => maybe not possible
|
- Make it possible to receive a webhook to send info to user => maybe not possible
|
||||||
- clean code (more)
|
- clean code (more)
|
||||||
- message on deactivate if not everything is pushed
|
|
||||||
- check if commit msg was already pushed with `git log main --format=%s` and propose increment
|
- check if commit msg was already pushed with `git log main --format=%s` and propose increment
|
||||||
- make a better Readme.md
|
- make a better Readme.md
|
||||||
- rename extension
|
- rename extension
|
||||||
|
|
@ -14,12 +13,16 @@
|
||||||
- description in package.json
|
- description in package.json
|
||||||
- if possible verify credential manager
|
- if possible verify credential manager
|
||||||
- if possible, Show a list of available repositories
|
- if possible, Show a list of available repositories
|
||||||
- status bar item onClick doesn't realy check if outputLogChannel is opened => not possible to fix because of vscode API
|
|
||||||
|
## [0.3.1] - 2024-07-19
|
||||||
|
|
||||||
|
- fix initRepo command
|
||||||
|
|
||||||
## [0.3.0] - 2024-07-19
|
## [0.3.0] - 2024-07-19
|
||||||
|
|
||||||
- fix autoIncrement > if 2x same number, it incremented the wrong one
|
- fix autoIncrement > if 2x same number, it incremented the wrong one
|
||||||
- check for conflicts before push
|
- check for conflicts before push
|
||||||
+ clickable link to file
|
- clickable link to file
|
||||||
- keep lastGitCommitMsg through vscode restart
|
- keep lastGitCommitMsg through vscode restart
|
||||||
- trim commit message before push
|
- trim commit message before push
|
||||||
- clean code
|
- clean code
|
||||||
|
|
@ -61,3 +64,8 @@
|
||||||
## [0.0.1] - 2024-02-01
|
## [0.0.1] - 2024-02-01
|
||||||
|
|
||||||
- Initial release
|
- Initial release
|
||||||
|
|
||||||
|
## [removed from plan]
|
||||||
|
|
||||||
|
- message on quit (vscode) if not everything is pushed => doesn't seem possible with vsocde api
|
||||||
|
- status bar item onClick doesn't realy check if outputLogChannel is opened => not possible to fix because of vscode API
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,10 @@ async function activate(context) {
|
||||||
context.subscriptions.push(disposable);
|
context.subscriptions.push(disposable);
|
||||||
|
|
||||||
disposable = vscode.commands.registerCommand("dwm-git-simpleuse.initRepo", async function () {
|
disposable = vscode.commands.registerCommand("dwm-git-simpleuse.initRepo", async function () {
|
||||||
if (!(await isInGitRepo(true))) return;
|
if (await isInGitRepo()) {
|
||||||
|
vscode.window.showErrorMessage("Already in a git repository");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
let gitLink = await vscode.window.showInputBox({
|
let gitLink = await vscode.window.showInputBox({
|
||||||
placeHolder: "git repo link",
|
placeHolder: "git repo link",
|
||||||
|
|
|
||||||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "dwm-git-simpleuse",
|
"name": "dwm-git-simpleuse",
|
||||||
"version": "0.2.0",
|
"version": "0.3.1",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "dwm-git-simpleuse",
|
"name": "dwm-git-simpleuse",
|
||||||
"version": "0.2.0",
|
"version": "0.3.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"child_process": "^1.0.2"
|
"child_process": "^1.0.2"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
"icon": "img/icon.png",
|
"icon": "img/icon.png",
|
||||||
"description": "",
|
"description": "",
|
||||||
"publisher": "nyncral",
|
"publisher": "nyncral",
|
||||||
"version": "0.3.0",
|
"version": "0.3.1",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.85.0"
|
"vscode": "^1.85.0"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue