{"id":21053240,"url":"https://github.com/sqrtneginf/git-retrofit","last_synced_at":"2026-06-20T04:31:03.066Z","repository":{"id":107338625,"uuid":"138309741","full_name":"SqrtNegInf/Git-retrofit","owner":"SqrtNegInf","description":"How Rosetta Code project was retrofit into git","archived":false,"fork":false,"pushed_at":"2018-06-22T23:04:09.000Z","size":34,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-05T23:51:00.448Z","etag":null,"topics":["git"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SqrtNegInf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-22T14:05:46.000Z","updated_at":"2018-06-22T23:04:10.000Z","dependencies_parsed_at":"2023-05-25T12:15:10.228Z","dependency_job_id":null,"html_url":"https://github.com/SqrtNegInf/Git-retrofit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SqrtNegInf/Git-retrofit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SqrtNegInf%2FGit-retrofit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SqrtNegInf%2FGit-retrofit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SqrtNegInf%2FGit-retrofit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SqrtNegInf%2FGit-retrofit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SqrtNegInf","download_url":"https://codeload.github.com/SqrtNegInf/Git-retrofit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SqrtNegInf%2FGit-retrofit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34557551,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"],"created_at":"2024-11-19T16:05:15.555Z","updated_at":"2026-06-20T04:31:03.050Z","avatar_url":"https://github.com/SqrtNegInf.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## How Rosetta Code project was retro-fit into git\n\nWhen Perl 6 was nearing its long-awaited __Christmas__ release in 2015, I decided to take\na closer look at the language via the Rosetta Code site.  One of the very first tasks I \nlooked at didn't run: the language specification had changed since it was written \n(unsurprising given the very long gestation). I fixed that one, and then another, and then \nanother...  In the end I decided to try to validate all the Perl 6 code, and now smoke-test \nit daily.  \n\nYou can see the result at\n[Rosettacode-Perl6-Smoke](https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke)\n\n### Three easy steps\n\nHowever, since I had stumbled into this project without any planning, I didn't use any\nversion control along the way.  But I did keep track of when I downloaded and modified tasks, so it\nwas possible to map out my activity _post hoc_, and even display an accurate time-line of my \nactivity.  File modification dates were extracted from the headers of tasks if available \n(or otherwise obtained from file modification time-stamps).  The only real trick was figuring \nout the right sequence of commands to have ```git --amend``` work smoothly.\n\n* export.pl – Perl program generates shell program\n* export.sh – shell program populates git archive, push to remote\n* auto-update.pl – automates subsequent git updates, local/remote\n\nSecond step was slow (many hours). There may be a more efficient technique \n(my ```git``` skills are fairly basic), but it was a one-off job, so good enough.\n\n### Commit count inflation\n\nThe summary count of commits is pretty large (over 2500), but I didn't really work **that** hard.\nThis is a bit of an artifact of the export-to-git procedure, which generated a lot of ```merge``` commits:\n\n```\n* e209f1b 2018-05-22 | daily update of task status [David Hoekman]\n*   fdb5244 2018-05-22 | Merge branch 'master' of https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke [David Hoekman]\n|\\\n| *   082a80d 2018-05-22 | Merge branch 'master' of https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke [David Hoekman]\n| |\\\n* | \\   2d18383 2018-05-22 | update of task Make_directory_path [David Hoekman]\n|\\ \\ \\\n| |/ /\n|/| /\n| |/\n| *   e4d9d41 2018-05-22 | Merge branch 'master' of https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke [David Hoekman]\n| |\\\n* | \\   eaaf17c 2018-05-22 | initial commit of task status file meta/task.txt [David Hoekman]\n|\\ \\ \\\n| |/ /\n|/| /\n| |/\n| *   dabdfbe 2018-05-22 | Merge branch 'master' of https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke [David Hoekman]\n| |\\\n* | \\   daa9f3d 2018-05-22 | initial commit of task reference file ref/word-count.txt [David Hoekman]\n|\\ \\ \\\n| |/ /\n|/| /\n| |/\n| *   6a07573 2018-05-22 | Merge branch 'master' of https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke [David Hoekman]\n| |\\\n* | \\   a1e698c 2018-05-22 | update of task Empty_directory [David Hoekman]\n|\\ \\ \\\n| |/ /\n|/| /\n| |/\n| *   7e117f4 2018-05-22 | Merge branch 'master' of https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke [David Hoekman]\n| |\\\n* | \\   768856a 2018-05-22 | initial commit of task reference file ref/text-proc.txt [David Hoekman]\n|\\ \\ \\\n| |/ /\n|/| /\n| |/\n| *   9bed453 2018-05-22 | Merge branch 'master' of https://github.com/SqrtNegInf/Rosettacode-Perl6-Smoke [David Hoekman]\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqrtneginf%2Fgit-retrofit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqrtneginf%2Fgit-retrofit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqrtneginf%2Fgit-retrofit/lists"}