#social 2016-03-28

2016-03-28 UTC
Loqi, bblfish, bblfish_, jasnell, Arnaud1, shepazu, ben_thatmustbeme and Arnaud joined the channel
Arnaud1, Loqi, jasnell, jasnell_ and bblfish joined the channel
bblfish, jasnell, KevinMarks, Arnaud and cwebber2 joined the channel
#
aaronpk
hey cwebber2
#
cwebber2
hi aaronpk
#
aaronpk
have you made any progress on the socialpub work?
#
aaronpk
i was hoping you could take a look at micropub and let me know if this looks like what you'd expect from a combined syntax for updates
#
cwebber2
aaronpk: I have not because I've been sprinting on the mediagoblin 0.9.0 release (if lucky, out tomorrow morning!)
#
cwebber2
but, looking
#
cwebber2
also I feel like I need to coordinate with rhiaro on the socialpub stuff :)
#
cwebber2
aaronpk: I'm not sure, which part is the combined syntax for updates?
#
cwebber2
aaronpk: are you meaning the incremental updates part?
#
aaronpk
yeah, the fragment i linked
#
aaronpk
same with deletes
#
cwebber2
aaronpk: so we don't have the incremental replace but I think it would be interesting to support; I guess we'd need a new term in the vocabulary for it
#
cwebber2
aaronpk: the "adding tags" part is interesting
#
cwebber2
does it add to them
#
cwebber2
or replace all tags with the new list?
#
aaronpk
"Add" is explicitly adding to the existing list, "Replace" replaces with the new list
#
cwebber2
aaronpk: otherwise it looks about right
#
cwebber2
I think we need tsyesika and rhiaro talking about incremental updates though as well
#
cwebber2
I feel like I can't be the only one discussing that; it's a significant addition
#
cwebber2
"Update" in the current system does a complete replacement of the object
#
cwebber2
current system meaning AP
#
aaronpk
worst case I can make Add/Replace part of Micropub and not part of Socialpub
#
cwebber2
aaronpk: maybe simplify even further:
#
cwebber2
have an "add a single property" one which is either add/replace, and then have a "replace the *entire* object wholesale" with an Update one?
#
aaronpk
now that I think about it, it's really only "Add" which was driven by actual use cases
jasnell_ joined the channel
#
aaronpk
oh wait no, you need "replace" to be able to set only a specific property like the name of a post
#
aaronpk
so yeah i definitely need both
#
aaronpk
but i'm ambivalent as to the actual syntax of it
#
cwebber2
aaronpk: how about this: "Replace" for replacing an entire field's content, and for switching out lists of tags
#
cwebber2
you simply add the new entire combined set
#
aaronpk
but part of the goal is to not need to retrieve the complete list to be able to add something
#
cwebber2
and "update" still replaces the whole object
#
cwebber2
aaronpk: hm ok
#
cwebber2
aaronpk: we can probably do it but it means 3 update verbs
#
cwebber2
Update, Add, and Replace