Peace! Test post for a git remote helper for steem
Peace to a people unknown!
As the title says, what I'm trying to accomplish, God willing, is to upload refs and objects into steem using a main post's comment tree.
Usage would be git remote add origin steem://username@token/permlink
but it just occurred to me that the steem username of the client may be different than the steem username of the repo's "owner" or "creator". Might have to update that once it's up on steem, God willing :)
God willing:
- Should this create the post if it doesn't exist already? Would this be done on the first push?
- Should we expect only two root posts, refs and objects, from the main posts, author?
- Should the permlink structure be predictable or should we rely on crawling (eager or lazy?) and caching the results?
Initially, I'd like to store objects directly into steem and then add ability to store on IPFS (especially for larger commits) and reference these via steem and fetch them accordingly. Perhaps an algorithm or user defined configuration options could determine which to do. Hopefully though, God willing, the git-remote-helper can deal with both.
I've seen a similar project with Ethereum using something called snapshots, which is a map of git hashes to ipfs hashes, stored on an ethereum node/contract. Perhaps we could do something similar, so instead of a single comment for each object, allowing for a comment for a list of objects (whether to ipfs or directly?)
That's the deal so far. Peace and many blessings!
refs
refs/heads/master
1e50dd1cfe214fd2fc4b6794e4f714583798345f
9585e74681e98c09abaf6df80f2ab2f70064e602
objects
eJwBLgDR/3RyZWUgMzgAMTAwNjQ0IHJlYWRtZS50eHQAna6vuYZM9DBVrpO+sK/Wx9FEv6R4phP4
eJxLyslPUjBlKEktLuECABmmA78=
eJydzU0KwyAQQOGuPcVcoGHGn6gQSi7QVU9g1TSCIpjp/UNzhC6/zXuxt1YYyPobj5zByBkpWdLB
kHdKKpP05omcD5be1smEMum4ifDlvQ94hb0keJZa84Dl+Glql9ZPC6VOsbcHkFEknUI3wx01oojX
lvPfAcH5YHECQoM5Fg==
eJydzksOwiAUQFHHrOJtwIbPAyQxxg040g3webQkpRiK+zd2CQ7P5ObGVmsZIFGeRicCF1BT9kHG
gE4lQmOT9uQ4RySlgiWpog6SvX2nbYAgzVMSMZMUmJPMEYOxDgmzFagvyrqLQp2Z/4yldXj6pSR4
lHWlDtf9p6keus/Vl3WKrd5AaCXRaHQGztxyzuKxOejvAHvRPso2Qyqd4mi90M6+DKtN0g==
eJxLyslPUjBhKEktLgEAFeEDtA==
eJwrKUpNVTCzZDA0MDAzMVEoSk1MyU3VK6koYZi7bv3ONp8vBqHrJu/bsP7a8Ysu+5eYGACBQklq
cQkDZxRrrVeq3BGhC9mRj/VmM7WLTroKAHScHp0=
eJwrKUpNVTA2YzA0MDAzMVEoSS0u0SupKGEwuO6r2uJ0/Fio0KtfW0rCeq+zHTEAAEJvEMo=
Congratulations @sahidmiller! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Do not miss the last post from @steemitboard:
Vote for @Steemitboard as a witness to get one more award and increased upvotes!