{"id":22407322,"url":"https://github.com/sv592/sort-authors-github-","last_synced_at":"2026-04-15T08:39:18.396Z","repository":{"id":44359371,"uuid":"512220322","full_name":"SV592/Sort-Authors-Github-","owner":"SV592","description":"Returns a text file containing the top commit authors for a repo during any period of time and their individual total commits. ","archived":false,"fork":false,"pushed_at":"2022-10-27T13:50:25.000Z","size":296,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T01:48:31.841Z","etag":null,"topics":["git","github","javascript","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SV592.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-07-09T15:29:55.000Z","updated_at":"2024-11-19T15:34:30.000Z","dependencies_parsed_at":"2023-01-20T15:02:47.258Z","dependency_job_id":null,"html_url":"https://github.com/SV592/Sort-Authors-Github-","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SV592/Sort-Authors-Github-","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2FSort-Authors-Github-","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2FSort-Authors-Github-/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2FSort-Authors-Github-/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2FSort-Authors-Github-/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SV592","download_url":"https://codeload.github.com/SV592/Sort-Authors-Github-/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SV592%2FSort-Authors-Github-/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31833836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T07:17:56.427Z","status":"ssl_error","status_checked_at":"2026-04-15T07:17:30.007Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["git","github","javascript","nodejs"],"created_at":"2024-12-05T11:13:49.853Z","updated_at":"2026-04-15T08:39:18.360Z","avatar_url":"https://github.com/SV592.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sort Authors Github\n\nDESCRIPTION\n--------------------------------------------------------------------------------------\nReturns a text file containing the top commit authors for a repo during a particular period and their individual total commits \n\n\nREQUIREMENTS\n--------------------------------------------------------------------------------------\nThis script requires the following to function:\n\n.[NODEJS] V14.15.1  \n.[GIT] V2.29.2 \n.[ShellJS] V0.8.5\n\n\n\nINSTALLATION\n-------------------------------------------------------------------------------------\nInstall NODE globally as normal. Visit\n  https://nodejs.org/en/\n\nInstall GIT globally as normal. Visit \n  https://git-scm.com/\n  \nInstall Node Modules. Run \n  `npm i` within the sort authors folder \n  \n\n  \nCONFIGURATION\n-------------------------------------------------------------------------------------\nUpon starting the script, it will promot the user to enter the required valued in the following formats.\nThe repo path has to be up the root directory.\n\n1. Full repository path (locally) = FORMAT - \"C:\\Users\\shaqu\\Desktop\\Sort Authors\"\n2. Starting date for period of data retrieval =  FORMAT - Dec 9 2021\n3. Ending date for the period of data retrieval = FORMAT - July 9 2022\n4. Desired number of Authors to return = FORMAT - 12 \n\n\n\nRUN\n-------------------------------------------------------------------------------------\nWithin terminal. Run\n  `node sortAuthors.js`\n  \n\n\nOUTPUT\n-------------------------------------------------------------------------------------\nThe CLI terminal will start up welcoming the user, then proceeding to get the required info. When all necessary information is entered a completion message will be logged and a text file titled \"authors\" will be created within the root directory of the working folder. This contains the top authors for the given period. With the total number of commits listed on the left as well as their names and email addresses.\n\n![Screenshot 2022-10-27 094733](https://user-images.githubusercontent.com/58669882/198302441-36af50d0-89b5-4be4-9133-49e90be2de16.png)\n\n\nEXAMPLE:\n   \n     89\tRodolfo Alonso Hernandez \u003cralonsoh@redhat.com\u003e\n     52\tSlawek Kaplonski \u003cskaplons@redhat.com\u003e\n     33\tyatinkarel \u003cykarel@redhat.com\u003e\n     13\tJakub Libosvar \u003clibosvar@redhat.com\u003e\n     12\tLIU Yulong \u003ci@liuyulong.me\u003e\n     12\telajkat \u003clajos.katona@est.tech\u003e\n      9\tOleg Bondarev \u003coleg.bondarev@huawei.com\u003e\n      8\tzhouhenglc \u003czhouhenglc@inspur.com\u003e\n      5\tArnau Verdaguer \u003caverdagu@redhat.com\u003e\n      5\tFrode Nordahl \u003cfrode.nordahl@canonical.com\u003e\n      \n      \n\nTroubleshooting\n------------------------------------------------------------------------------------\nWhen running the script multiple times be sure to clear the authors.txt file or delete it entirely because the information will be appended to the existing data and this can be confusing.\n\nThe number of authors will have to be adjusted according to the number of authors within the repository for the given period. If the number is adjusted more than the total amount of commit authors avaliable, the script will return undefined for the additional entries. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv592%2Fsort-authors-github-","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsv592%2Fsort-authors-github-","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsv592%2Fsort-authors-github-/lists"}