Skip to content

Determine repo-age with its first commit - #2783

Merged
fregante merged 4 commits into
refined-github:masterfrom
hardikmodha:repo_age_using_first_commit
Mar 3, 2020
Merged

fregante merged 4 commits into
refined-github:masterfrom
hardikmodha:repo_age_using_first_commit

Conversation

@hardikmodha

@hardikmodha hardikmodha commented Feb 15, 2020 •

Copy link
Copy Markdown
Contributor

@hardikmodha
hardikmodha force-pushed the repo_age_using_first_commit branch from f11c828 to f976d2c Compare February 15, 2020 08:58
@hardikmodha
hardikmodha marked this pull request as ready for review February 15, 2020 09:01
Comment thread source/features/repo-age.tsx Resolved
Comment thread source/features/repo-age.tsx Resolved
Comment thread source/features/repo-age.tsx Resolved
Comment thread source/features/repo-age.tsx Resolved
Comment thread source/features/repo-age.tsx Resolved
@fregante

Copy link
Copy Markdown
Member

Include some test URLs in the first post as well, like default branch and other branches and any other variety of page that this works on.

@fregante fregante changed the title Repo age using first commit Determine repo-age with its first commit Feb 28, 2020
@fregante
fregante merged commit ca2e993 into refined-github:master Mar 3, 2020

const relativeTime = await fetchDom(
`${getRepoURL()}/commits?after=${commitSha}+${commitsCount - 2}`,
'ol:last-child > li.commits-list-item relative-time'

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Guthub changed the selector to .js-commits-list-item

@yakov116

yakov116 commented Mar 6, 2020

Copy link
Copy Markdown
Member

This is broken now..

@yakov116 yakov116 mentioned this pull request Mar 6, 2020
@fregante

fregante commented Jun 1, 2020

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

repo-age should display the date of the first commit

3 participants