Sync finally done!!
It’s 5 AM and I finished “Sync badges with GitHub Repository” and “Sync the status with GitHub repository” (this was already done, but with the enum version of status).
I added also a few fail-safes so when you assign some badge or status and then delete it, it will also delete it from GitHub and project. Now it won’t be a ghost that you cannot get rid of haha.
This was a little more difficult than I expected to do, the fail-safes because the local changing mechanism and syncing mechanism were written inline in the same function. The only thing that was dividing them was an if statement.
It was interesting to make this. To make sure everything will work fine. Even though it didn’t MANY TIMES.
Now I will focus on syncing GitHub topics.
Wish me luck!
P.S.:
Forgot to mention, that I have to add this “On Status/Badge Edit, ASAP sync with GitHub” with Edit. I almost forgot lol, just came into my mind.
I hope that COPY+PASTE will be enough and I won’t have to create another syncing system specifically for edits…
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.