{"id":23553143,"url":"https://github.com/rhildred/addgituser","last_synced_at":"2025-05-15T17:30:42.305Z","repository":{"id":3251892,"uuid":"4289762","full_name":"rhildred/addGitUser","owner":"rhildred","description":"add a user that can only access the server resources in their home directory through git over http","archived":false,"fork":false,"pushed_at":"2012-07-07T20:25:49.000Z","size":120,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-17T12:45:23.229Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/rhildred.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}},"created_at":"2012-05-10T21:04:14.000Z","updated_at":"2019-07-30T21:08:13.000Z","dependencies_parsed_at":"2022-08-23T14:30:28.707Z","dependency_job_id":null,"html_url":"https://github.com/rhildred/addGitUser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2FaddGitUser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2FaddGitUser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2FaddGitUser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rhildred%2FaddGitUser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rhildred","download_url":"https://codeload.github.com/rhildred/addGitUser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254388007,"owners_count":22062965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-12-26T11:14:07.131Z","updated_at":"2025-05-15T17:30:42.271Z","avatar_url":"https://github.com/rhildred.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"addGitUser\n==========\n\nadd a user that can only access the server resources in their home directory through git over http\n\nto run:\n\n    curl https://raw.github.com/rhildred/addGitUser/master/addGitUser | bash -s\n\nto create another repository under the same account:\n\n    curl https://raw.github.com/rhildred/addGitUser/master/addRepo | bash -s repositoryName\n\nstarted with:\n\nan account set up under cpanel that I can ssh to, mod_auth_digest installed and activated\n\nin detail:\n\n* make basic directories git and rails_apps ... also a tmp1 directory that we will delete\n\n* make the bare first repo\n\n* clone working copy in to tmp1\n\n* write the post-receive hook\n\n* make the .htaccess with the security and the rewrite rule \n\n* make the .htaccess to run our script\n\n* make our script\n\n* set the rest of the userdir permissions\n\n* commit everything and check out into the rails_apps work tree\n\n* link in to work tree\n\n* clean up tmp1 directory\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhildred%2Faddgituser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frhildred%2Faddgituser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frhildred%2Faddgituser/lists"}