-
Notifications
You must be signed in to change notification settings - Fork 11
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
remotefolder is not created, when only using one #7
Comments
Hey @ulrichbojko, I think I know what the issue is: Can you manually create the local file structure and see if that resolves your issue? I know this isn't ideal, but SPGo does not effectively retrieve files from the root site collection of a SharePoint site in build 0.10.0. I'm going to remove the "workspaceRoot" node, as it does not really serve any value (VSCode already vends the current workspace path, and coupling the workspace URL to your local environment will break team/source integration). I'll push this new build by EoW. Thanks for using SPGo! |
Hi Chris
That did the trick. Thank you for clearifing. And thank you for SPGo…
Venlig hilsen / Kind regards
Ulrich Gerting Bojko
CEO & SharePoint Specialist | KonsulentFabrikken.dk<http://konsulentfabrikken.dk/> | Office 365 HQ Podcast<http://office365hq.dk/>
Mobile: +45 40 94 98 05
Skype: ulrich_gerting_bojko
LinkedIn: http://linkedin.com/in/ulrichbojko
Calendar: Click to see my schedule<https://outlook.office365.com/owa/calendar/23ae7adfb82f4d82b7c731c336c1dfa3@konsulentfabrikken.dk/c0ae35cf70064d5093070485eb852b4f15825475671931488170/calendar.html>
P please don't print this e-mail unless you really need to
Fra: Chris Hasz [mailto:notifications@github.com]
Sendt: 6. september 2017 07:46
Til: readysitego/spgo <spgo@noreply.github.com>
Cc: Ulrich Gerting Bojko <ub@konsulentfabrikken.dk>; Mention <mention@noreply.github.com>
Emne: Re: [readysitego/spgo] remotefolder is not created, when only using one (#7)
Hey @ulrichbojko<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fulrichbojko&data=01%7C01%7Cub%40konsulentfabrikken.dk%7C797c6263b7514d4689ff08d4f4ea9840%7C987229eba5d84a98b89f0d2f916f31ea%7C1&sdata=Dt0WXyYDs47oEwMZhsL%2Bj0K2J4rawt5RwJl4x8BC19Q%3D&reserved=0>, I think I know what the issue is: Can you remove the trailing slash from the workspaceRoot value, reloading VSCode and see if the error persists?
Your config should look something like this:
{ "sourceDirectory": "src", "workspaceRoot": "c:\CodeProjects\myproject", "sharePointSiteUrl": "https://domain.sharepoint.com", "publishingScope": "SaveOnly", "remoteFolders": [ "/SiteAssets/" ] }
I'll harden the config manager for 0.10.1 to catch errors like this. I'm also thinking of removing the "workspaceRoot" node, as it does not really serve any value (VSCode already vends the current workspace path, and coupling the workspace URL to your local environment will break team/source integration)
Thanks for using SPGo!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Freadysitego%2Fspgo%2Fissues%2F7%23issuecomment-327381241&data=01%7C01%7Cub%40konsulentfabrikken.dk%7C797c6263b7514d4689ff08d4f4ea9840%7C987229eba5d84a98b89f0d2f916f31ea%7C1&sdata=MGCsZDDOfDdEpBYLdSwbt99N%2BEZbj00U0fG5OJ7mCL4%3D&reserved=0>, or mute the thread<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABuxOvixqGQlHH7KApZBv5_ic-bVbE6Tks5sfjGngaJpZM4PLIzU&data=01%7C01%7Cub%40konsulentfabrikken.dk%7C797c6263b7514d4689ff08d4f4ea9840%7C987229eba5d84a98b89f0d2f916f31ea%7C1&sdata=7Trtw1%2FH%2Bzut6QIza%2Bt5XtPh1ewCRR83SMQbCqDMwTs%3D&reserved=0>.
|
If i setup the SPGo.json like this:
{
"sourceDirectory": "src",
"workspaceRoot": "c:\CodeProjects\myproject\",
"sharePointSiteUrl": "https://domain.sharepoint.com",
"publishingScope": "SaveOnly",
"remoteFolders": [
"/SiteAssets/"
]
}
The result will be that SPGo downloads the content of the SiteAssets folder into the "src" folder. Then upload or publishing will not work.
The same goes if you add 2 folders:
"remoteFolders": [
"/SiteAssets/",
"/Style%20Library/"
]
The last folder will download into the "src" folder.
The text was updated successfully, but these errors were encountered: