codingteam / Gestalt

GitHub statistics fetcher
MIT License
2 stars 0 forks source link

Latest organization-related news #1

Closed Minoru closed 9 years ago

Minoru commented 9 years ago

This is feature one of the three that @ForNeVeR originally envisioned.

Gestalt should look through all the repositories that belong to the organization and report, in reverse chronological order:

(The list might be incomplete, suggestions are welcome).

ForNeVeR commented 9 years ago

I like how you've organized my proposals, that's really nice. Thank you!

ForNeVeR commented 9 years ago

Regarding the topic: we maybe also want to announce all recent pushes.

Minoru commented 9 years ago

Should we also announce comments on pull requests? I'm in two minds about this.

ForNeVeR commented 9 years ago

Let's announce them at start. We can always disable them later if they become annoying.

ForNeVeR commented 9 years ago

What will contain a count field of "subject": "push" object?

ForNeVeR commented 9 years ago

There should be a possibility to get news from time period. Something like

/organizations/codingteam/news?from=2015-01-01T00:00:00Z&to=2015-01-02T00:00:00Z

(And I don't know if these : should be URL-encoded, check later.)

Or maybe we will want to introduce some syntetic timestamp to every news item so they can be queried sequentially without messing with dates and times (it can be useful with any history-altering events).

Minoru commented 9 years ago

What will contain a count field of "subject": "push" object?

It's the number of commits that the user pushed. GitHub gives us a lot more detail, like hashes and branch and so on, but I don't think we'll need it for short summary on the site.

Or maybe we will want to introduce some syntetic timestamp to every news item so they can be queried sequentially without messing with dates and times (it can be useful with any history-altering events).

Events are unalterable, I believe, so we should be safe with ordinary timestamps. I've added since and until GET parameters to the draft. Thank you for the feedback!

ForNeVeR commented 9 years ago

It's the number of commits that the user pushed.

Maybe then call it "commits"? Because the "count" name is slightly misleading - it's not obvious what exactly it will count.

I've added since and until GET parameters to the draft.

Okay, that should be enough.

Minoru commented 9 years ago

Maybe then call it "commits"? Because the "count" name is slightly misleading - it's not obvious what exactly it will count.

Good point. Changed the name to commits_count (don't want to use commits because we might want to use it later on if we decide to provide some commits-specific info).

Minoru commented 9 years ago

Closing the issue due to the stabilization of version 1 of the API.