[go: up one dir, main page]

Skip to content

Use 'authored_date' instead of 'committed_date' for simple tags

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Annotated tags have a created date, but simple tags do not. We correctly use the created date for annotated tags, but the committed date is misleading for annotated tags.

Proposal

Use authored_date for simple tags

Original report

Zendesk ticket: https://gitlab.zendesk.com/agent/tickets/83757

A customer is saying that the authored_date on a tag currently shows when the commit the tag points to was created, instead of when the tag itself was authored.

I'd like to submit a bug saying that this could be explained more explicitly, since an annotated tag will contain a lot of the same data (author name, date, and so on) a commit would.

At the same time, I'd also like to request a feature for GitLab to let me get the creation date of tags which has this information (like annotated tags).

My sincere apologies for the ambiguity! =)

(But I would submit that it's easy for human eyes to glass over the fact that 'authored_date' is inside the 'commit' JSON dict/map when reading your example on the link I provided).

He linked here: https://docs.gitlab.com/ee/api/tags.html

/cc @jramsay

Edited by 🤖 GitLab Bot 🤖