Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
pulling complete remote directories
Browse files Browse the repository at this point in the history
  • Loading branch information
mkloubert committed Jan 11, 2018
1 parent b5f46e8 commit a45dfdf
Show file tree
Hide file tree
Showing 11 changed files with 671 additions and 29 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
[![Share via Facebook](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Facebook.png)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&quote=vscode-deploy-reloaded) [![Share via Twitter](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Twitter.png)](https://twitter.com/intent/tweet?source=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&text=vscode-deploy-reloaded:%20https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&via=mjkloubert) [![Share via Google+](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Google+.png)](https://plus.google.com/share?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded) [![Share via Pinterest](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Pinterest.png)](https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&media=https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo1.gif&description=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20%27vs-deploy%27%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.) [![Share via Reddit](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Reddit.png)](https://www.reddit.com/submit?url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&title=vscode-deploy-reloaded) [![Share via LinkedIn](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/LinkedIn.png)](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&title=vscode-deploy-reloaded&summary=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20%27vs-deploy%27%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.&source=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded) [![Share via Wordpress](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Wordpress.png)](https://wordpress.com/press-this.php?u=https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded&quote=vscode-deploy-reloaded&s=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20%27vs-deploy%27%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.&i=https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo1.gif) [![Share via Email](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/share/Email.png)](mailto:?subject=vscode-deploy-reloaded&body=Recoded%20version%20of%20Visual%20Studio%20Code%20extension%20'vs-deploy'%2C%20which%20provides%20commands%20to%20deploy%20files%20to%20one%20or%20more%20destinations.:%20https%3A%2F%2Fmarketplace.visualstudio.com%2Fitems%3FitemName%3Dmkloubert.vscode-deploy-reloaded)


## 0.29.0 (January 11th, 2018; pull remote files)

* can pull files from a [target](https://github.com/mkloubert/vscode-deploy-reloaded/wiki#targets-) now, even if they do not exist in workspace ... s. [issue #13](https://github.com/mkloubert/vscode-deploy-reloaded/issues/13)
* bugfixes
* improvements, like better error handling

![Demo Pull files when listen remote directory](https://raw.githubusercontent.com/mkloubert/vscode-deploy-reloaded/master/img/demo16.gif)

## 0.28.5 (January 10th, 2018; import git files to packages)

* bugfixes
Expand Down
Binary file added img/demo16.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-deploy-reloaded",
"displayName": "Deploy (Reloaded)",
"description": "Deploys files of a workspace to a destination.",
"version": "0.28.5",
"version": "0.29.0",
"publisher": "mkloubert",
"engines": {
"vscode": "^1.19.0"
Expand Down
4 changes: 3 additions & 1 deletion src/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export async function deleteFilesIn(files: string[],
];

const PRESSED_BTN = await ME.showWarningMessage.apply(
null,
ME,
[ <any>ME.t('DELETE.askForCancelOperation', TARGET_NAME) ].concat(
POPUP_BTNS
)
Expand All @@ -236,6 +236,8 @@ export async function deleteFilesIn(files: string[],
}
finally {
if (!CANCELLATION_SOURCE.token.isCancellationRequested) {
cancelBtn.command = CANCEL_BTN_COMMAND_ID;

RESTORE_CANCEL_BTN_TEXT();
}

Expand Down
4 changes: 3 additions & 1 deletion src/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export async function deployFilesTo(files: string[],
];

const PRESSED_BTN = await ME.showWarningMessage.apply(
null,
ME,
[ <any>ME.t('deploy.askForCancelOperation', TARGET_NAME) ].concat(
POPUP_BTNS
)
Expand All @@ -273,6 +273,8 @@ export async function deployFilesTo(files: string[],
}
finally {
if (!CANCELLATION_SOURCE.token.isCancellationRequested) {
cancelBtn.command = CANCEL_BTN_COMMAND_ID;

RESTORE_CANCEL_BTN_TEXT();
}

Expand Down
18 changes: 18 additions & 0 deletions src/i18.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export interface Translation {
defaultName?: string;
};
};
done?: string;
editors?: {
active?: {
noOpen?: string;
Expand Down Expand Up @@ -189,12 +190,29 @@ export interface Translation {
currentDirectory?: string;
directoryIsEmpty?: string;
errors?: {
failed?: string;
operationFailed?: string;
};
lastModified?: string;
loading?: string;
noName?: string;
parentDirectory?: string;
pull?: {
enterLocalFolder?: string;
errors?: {
maxPathDepthReached?: string;
};
folder?: {
description?: string;
label?: string;
};
folderWithSubfolders?: {
description?: string;
label?: string;
};
pullingFile: string;
pullingFrom: string;
};
selectSource?: string;
size?: string;
};
Expand Down
18 changes: 18 additions & 0 deletions src/lang/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export const translation: Translation = {
defaultName: "HTML Dokument #{0:trim}",
},
},
done: "Fertig",
editors: {
active: {
noOpen: "Es ist derzeit kein aktiver Texteditor geöffnet!",
Expand Down Expand Up @@ -182,12 +183,29 @@ export const translation: Translation = {
currentDirectory: "Aktuelles Verzeichnis:{0:trim,surround,leading_space} ({1:trim,surround})",
directoryIsEmpty: "(Verzeichnis ist leer)",
errors: {
failed: "Konnte das Auflisten des Verzeichnisses{0:trim,surround,leading_space} ({1:trim,surround,leading_space}) nicht durchführen: {2:trim,surround,leading_space}",
operationFailed: "Konnte das Auflisten eines Verzeichnisses nicht durchführen (s. Debugkonsole 'STRG/CMD + SHIFT + Y')!",
},
lastModified: "Letzte Änderung:{0:trim,leading_space}",
loading: "Lade Verzeichnis{0:trim,surround,leading_space} ({1:trim} / {2:trim})...",
noName: "<KEIN NAME>",
parentDirectory: "(übergeordnetes Verzeichnis)",
pull: {
enterLocalFolder: "Geben Sie das lokale Verzeichnis in das die Dateien speichert werden sollen ...",
errors: {
maxPathDepthReached: "Maxmimal Tiefe von{0:trim,leading_space} erreicht!",
},
folder: {
description: "Lädt die Dateien dieses Ordners in ein lokales Verzeichnis",
label: "Dateien laden ...",
},
folderWithSubfolders: {
description: "Lädt die Dateien dieses Ordners (inkl. Unterordnern) in ein lokales Verzeichnis",
label: "Dateien inkl. Unterverzeichnissen laden ...",
},
pullingFile: "Lade Datei{0:trim,surround,leading_space} ...",
pullingFrom: "Lade Dateien von{0:trim,surround,leading_space} nach{1:trim,surround,leading_space} ...",
},
selectSource: "Wählen Sie eine Quelle ...",
size: "Grösse:{0:trim,leading_space}",
},
Expand Down
18 changes: 18 additions & 0 deletions src/lang/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ export const translation: Translation = {
defaultName: "HTML document #{0:trim}",
},
},
done: "Done",
editors: {
active: {
noOpen: "No active text editor found!",
Expand Down Expand Up @@ -182,12 +183,29 @@ export const translation: Translation = {
currentDirectory: "Current directory:{0:trim,surround,leading_space} ({1:trim,surround})",
directoryIsEmpty: "(directory is empty)",
errors: {
failed: "Could not list directory{0:trim,surround,leading_space} ({1:trim,surround,leading_space}): {2:trim,surround,leading_space}",
operationFailed: "List directory operation failed (s. debug console 'CTRL/CMD + SHIFT + Y')!",
},
lastModified: "Last modified:{0:trim,leading_space}",
loading: "Loading directory{0:trim,surround,leading_space} ({1:trim} / {2:trim})...",
noName: "<NO NAME>",
parentDirectory: "(parent)",
pull: {
enterLocalFolder: "Enter the local folder, where the remote files should be saved ...",
errors: {
maxPathDepthReached: "Maximum path depth of{0:trim,leading_space} reached!",
},
folder: {
description: "Pull the files of that folder to a local directory",
label: "Pull files ...",
},
folderWithSubfolders: {
description: "Pull the files (and sub folders) of that folder to a local directory",
label: "Pull files with sub folders ...",
},
pullingFile: "Pulling file{0:trim,surround,leading_space} ...",
pullingFrom: "Pulling files from{0:trim,surround,leading_space} to{1:trim,surround,leading_space} ...",
},
selectSource: "Select the source from where to start listening ...",
size: "Size:{0:trim,leading_space}",
},
Expand Down
Loading

0 comments on commit a45dfdf

Please sign in to comment.