Comments (4)
The same thing happens when publishing an unpublished entry. Spock adds, commits and pushed the published file e.g. entry.md
but doesn't track the deleted file _entry.md
.
from spock.
Oh interesting. Maybe we should be firing an event for that from Statamic... Will look into it, thanks!
from spock.
Can't reproduce.
commit 93c4795e7649b64892005edd32fb07769921ed3e (HEAD -> testing)
Author: Captain Spock <[email protected]>
Date: Fri Oct 26 11:02:06 2018 -0400
Entry saved by jlo
diff --git a/app/site/content/collections/things/_a-new-entry-from-spock.md b/app/site/content/collections/things/a-new-entry-from-spock.md
similarity index 100%
rename from app/site/content/collections/things/_a-new-entry-from-spock.md
rename to app/site/content/collections/things/a-new-entry-from-spock.md
It's committing both fine for me 🤔 What versions of statamic and spock are you running?
from spock.
I am also running into this issue using the following setup:
- Statamic
2.11.3
- Spock
2.1.0
Ignored events:
- Statamic\Events\Data\AssetUploaded
- Statamic\Events\Data\AssetMoved
- Statamic\Events\Data\AssetDeleted
- Statamic\Events\Data\FileUploaded
My current solution is to use a custom after command:
- if (( $(git status -s | wc -l) > 0 )); then git add --all && git commit -m "[skip-ci] Additional changes after running Spock" && git push; fi
from spock.
Related Issues (20)
- Unit tests are broken HOT 1
- [FR] Have a file limit before commit? HOT 16
- Spock hangs up Statamic on content save/reorder for... a while HOT 15
- Re-ordering entries causes multiple commits HOT 8
- Asset Changes not detected by Spock HOT 2
- Lots of issues - Not pushing most of the times HOT 4
- Special characters in filenames HOT 1
- Spock can't handle ssh keys HOT 2
- git_username in config not working
- Spock + gpg HOT 2
- Spock missing some events? HOT 1
- spock doesn't commit on localhost HOT 2
- Spock logs errors if entires are sorted by date HOT 1
- Is the remote version should be a git repo? HOT 1
- Fix Tests HOT 3
- Errors when running tests.
- Statamic V3 HOT 1
- Errors firing when there is no Error from git
- LOG.error: Spock command exited unsuccessfully HOT 1
- Spock + Laravel Forge HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spock.