Skip to content
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

Issue with localization #22

Closed
jay-chin opened this issue Sep 13, 2018 · 6 comments
Closed

Issue with localization #22

jay-chin opened this issue Sep 13, 2018 · 6 comments
Assignees

Comments

@jay-chin
Copy link

Is there something I can do to make spock work for localized content ? Spock seems to try and add files from the non-localized paths

From the logs:

[2018-09-13 07:37:18] staging.ERROR: Spock command exited unsuccessfully:
Command: git add /var/www/statamic/site/content/collections/learn/jay-chin-testing-page.md
Output: No output
Error: 
fatal: pathspec '/var/www/statamic/site/content/collections/learn/jay-chin-testing-page.md' did not match any files

Files that were actually modified:

Untracked files:
  (use "git add <file>..." to include in what will be committed)

	collections/learn/au/_jay-chin-testing-page.md
	collections/learn/ce/_jay-chin-testing-page.md
	collections/learn/cf/_jay-chin-testing-page.md
	collections/learn/de/_jay-chin-testing-page.md
	collections/learn/es/_jay-chin-testing-page.md
	collections/learn/gb/_jay-chin-testing-page.md
	collections/learn/gl/_jay-chin-testing-page.md
	collections/learn/it/_jay-chin-testing-page.md
	collections/learn/jp/_jay-chin-testing-page.md
	collections/learn/mx/_jay-chin-testing-page.md
	collections/learn/nl/_jay-chin-testing-page.md
@jesseleite
Copy link
Member

Oh interesting. Will take a look thanks!

@tennercoffee
Copy link

hey @jesseleite @jay-chin any updates on this? we had a Japan markdown page wipe itself clean today, and I'm wondering if this is related.

@jesseleite
Copy link
Member

@tennercoffee Spock may not be git add-ing proper paths to localized content sometimes, but it’s not messing with actual content. Not sure how it would be related?

@jesseleite
Copy link
Member

jesseleite commented Dec 11, 2018

Should be fixed in next Statamic update @jay-chin @tennercoffee 🤘

@tennercoffee
Copy link

tennercoffee commented Dec 11, 2018 via email

@jay-chin
Copy link
Author

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants