#43 Specifying object creator person and object creation time

Closed
opened 8 months ago by fr33domlover · 1 comments

How to specify who created a certain object, and when?

For example, a Git repo. I'd like to specify the Person actor who created it, and when it was created. I don't mean the time of the first commit in the repo though, I just mean the time the Repository object was created on the server, using a Create activity.

  • Author: I can use attributedTo. Does that make sense? Sounds a bit weird, that a repo is "attributed to" the person who created it. Should I still use this property? Or pick something external to AP? For example, the Dublin Core creator or FOAF maker (which are actually equivalent properties)
  • Creation time: I suppose I could use the standard AP published, since in this case creation refers to the time the Create activity was processed and the repository object got published and available for HTTP GETing on the server. But there are other options, e.g. for some other cases (in ForgeFed) I've been using the Dublin Core created property. I suppose I could still reserve created for the time that something was written/made, and use published for the time the object got inserted into the database and really published on the server.

Thoughts? Especially about the author. Repo "attributed to" the person who created it on the server sounds weird. In Create Note, the Note is attributedTo the actor, sounds okay. But somehow in Create Repository it sounds weird to use attributedTo, maybe because the repo's content, the commits etc. aren't really attributed to this one actor; it's just the creation, just the repo name and description, that's all.

SocialHub forum thread

How to specify who created a certain object, and when? For example, a Git repo. I'd like to specify the `Person` actor who created it, and when it was created. I don't mean the time of the first commit in the repo though, I just mean the time the `Repository` object was created on the server, using a `Create` activity. - Author: I can use `attributedTo`. Does that make sense? Sounds a bit weird, that a repo is "attributed to" the person who created it. Should I still use this property? Or pick something external to AP? For example, the Dublin Core [creator](http://purl.org/dc/terms/creator) or FOAF [maker](http://xmlns.com/foaf/0.1/maker) (which are actually equivalent properties) - Creation time: I suppose I could use the standard AP `published`, since in this case creation refers to the time the `Create` activity was processed and the repository object got published and available for HTTP GETing on the server. But there are other options, e.g. for some other cases (in ForgeFed) I've been using the Dublin Core `created` property. I suppose I could still reserve `created` for the time that something was written/made, and use `published` for the time the object got inserted into the database and really published on the server. Thoughts? Especially about the author. Repo "attributed to" the person who created it on the server sounds weird. In `Create Note`, the Note is `attributedTo` the actor, sounds okay. But somehow in `Create Repository` it sounds weird to use `attributedTo`, maybe because the repo's content, the commits etc. aren't really attributed to this one actor; it's just the creation, just the repo name and description, that's all. [SocialHub forum thread](https://socialhub.activitypub.rocks/t/specifying-object-creator-person-and-object-creation-time/286)
fr33domlover commented 5 months ago
Collaborator

DECISIONS:

  • Use attributedTo to state who's in charge of the repo. It doesn't necessarily means it's the same actor that created it, e.g. maybe fr33/myrepo later becomes peers/myrepo, i.e. the actor in authority changes. Repos change hands.
  • Use published to state when an ActivityPub object got published via ActivityPub, using a Create activity or something like that
  • If there's a need to also say who originally created something, there's the DC creator property to consider, but I haven't had a need for this so far
  • To point to the activity that created something, hmmm attributedTo could work but then how do we state authority? For now I haven't had a strict need to state the activity, so use attributedTo for authority

Closing this for now. Reopen if the question arises again.

DECISIONS: - Use `attributedTo` to state who's in charge of the repo. It doesn't necessarily means it's the same actor that created it, e.g. maybe `fr33/myrepo` later becomes `peers/myrepo`, i.e. the actor in authority changes. Repos change hands. - Use `published` to state when an ActivityPub object got published via ActivityPub, using a Create activity or something like that - If there's a need to also say who originally created something, there's the DC `creator` property to consider, but I haven't had a need for this so far - To point to the activity that created something, hmmm `attributedTo` could work but then how do we state authority? For now I haven't had a strict need to state the activity, so use `attributedTo` for authority Closing this for now. Reopen if the question arises again.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.