{"id":21962431,"url":"https://github.com/scipopt/localhooks","last_synced_at":"2025-03-22T20:41:37.229Z","repository":{"id":225311147,"uuid":"363083292","full_name":"scipopt/localhooks","owner":"scipopt","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-28T12:01:18.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-28T00:35:15.525Z","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/scipopt.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":"2021-04-30T08:56:31.000Z","updated_at":"2024-10-28T12:01:22.000Z","dependencies_parsed_at":"2024-03-01T11:30:55.496Z","dependency_job_id":"c8ebe07e-3428-4300-8db9-76787453dbc4","html_url":"https://github.com/scipopt/localhooks","commit_stats":null,"previous_names":["scipopt/localhooks"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scipopt%2Flocalhooks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scipopt%2Flocalhooks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scipopt%2Flocalhooks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scipopt%2Flocalhooks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scipopt","download_url":"https://codeload.github.com/scipopt/localhooks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245020314,"owners_count":20548156,"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-11-29T10:40:10.152Z","updated_at":"2025-03-22T20:41:37.120Z","avatar_url":"https://github.com/scipopt.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Localhooks for scip\n----------\n\nThese git hooks help to check the correct format of commits before pushing.\nThey need to be installed by the user for the local repository.\nFor instructions please continue reading.\n\nAvailable hooks:\n----------------\n\n - commit-msg: checks every commit message for correct format (line length, etc.)\n - pre-commit: checks every commit for trailing whitespaces, filename format and that the files size does not exceed 50 MB\n\nInstructions for local hooks\n-----------------\n\nHooks are scripts that run before or after certain events\nin Git. The `commit-msg` hook for example runs after the\ncommit message is edited and checks for the correct format.\n\nFor security reasons, local hooks have to be activated\nmanually for every single repository.\n\nThere are several ways of doing that:\n\n1. Run `installhooks` and follow the steps\n   (this method will create links to the hooks just like method 2)\n\n2. Create links from\n   `.git/hooks/`\n   in every repository to the scripts in this localhooks/ folder you like to use.\n   example:\n```\n   cd scip/.git/hooks\n   ln -s /path/to/localhooks/commit-msg\n```\n3. Copy the contained hooks into the directory\n   `.git/hooks/`\n   of your local repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscipopt%2Flocalhooks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscipopt%2Flocalhooks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscipopt%2Flocalhooks/lists"}