{"id":19249264,"url":"https://github.com/sous-chefs/reprepro","last_synced_at":"2025-07-12T19:33:06.778Z","repository":{"id":2725978,"uuid":"3720910","full_name":"sous-chefs/reprepro","owner":"sous-chefs","description":"Development repository for the reprepro cookbook","archived":false,"fork":false,"pushed_at":"2024-02-01T00:32:06.000Z","size":181,"stargazers_count":10,"open_issues_count":3,"forks_count":23,"subscribers_count":28,"default_branch":"main","last_synced_at":"2024-04-14T06:09:21.327Z","etag":null,"topics":["chef","chef-cookbook","chef-resource","hacktoberfest","managed-by-terraform","reprepro"],"latest_commit_sha":null,"homepage":"https://supermarket.chef.io/cookbooks/reprepro","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sous-chefs.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null},"funding":{"open_collective":"sous-chefs"}},"created_at":"2012-03-14T18:38:38.000Z","updated_at":"2024-05-02T00:20:35.269Z","dependencies_parsed_at":"2024-02-24T20:42:28.057Z","dependency_job_id":"cc7e9814-fbaf-4996-9edc-52456549c865","html_url":"https://github.com/sous-chefs/reprepro","commit_stats":{"total_commits":179,"total_committers":21,"mean_commits":8.523809523809524,"dds":0.7541899441340782,"last_synced_commit":"69ff77b14aa529880e80c03dfb46e435e327c519"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sous-chefs%2Freprepro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sous-chefs%2Freprepro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sous-chefs%2Freprepro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sous-chefs%2Freprepro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sous-chefs","download_url":"https://codeload.github.com/sous-chefs/reprepro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223188141,"owners_count":17102813,"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":["chef","chef-cookbook","chef-resource","hacktoberfest","managed-by-terraform","reprepro"],"created_at":"2024-11-09T18:13:28.429Z","updated_at":"2024-11-09T18:13:29.051Z","avatar_url":"https://github.com/sous-chefs.png","language":"Ruby","funding_links":["https://opencollective.com/sous-chefs"],"categories":[],"sub_categories":[],"readme":"# reprepro Cookbook\n\n[![Cookbook Version](https://img.shields.io/cookbook/v/reprepro.svg)](https://supermarket.chef.io/cookbooks/reprepro)\n[![Build Status](https://img.shields.io/circleci/project/github/sous-chefs/reprepro/master.svg)](https://circleci.com/gh/sous-chefs/reprepro)\n[![OpenCollective](https://opencollective.com/sous-chefs/backers/badge.svg)](#backers)\n[![OpenCollective](https://opencollective.com/sous-chefs/sponsors/badge.svg)](#sponsors)\n[![License](https://img.shields.io/badge/License-Apache%202.0-green.svg)](https://opensource.org/licenses/Apache-2.0)\n\nSets up an APT repository suitable for using the reprepro tool to manage distributions and components.\n\nSee the reprepro documentation for more information about reprepro itself, including the man(1) page in the package [http://mirrorer.alioth.debian.org/](http://mirrorer.alioth.debian.org/)\n\n## Help Wanted\n\nThis repository has been archived for now, but if you want to help us with this cookbook drop by our slack channel #sous-chef on the chef community slack and let us know!\n\n## Maintainers\n\nThis cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit [sous-chefs.org](https://sous-chefs.org/) or come chat with us on the Chef Community Slack in [#sous-chefs](https://chefcommunity.slack.com/messages/C2V7B88SF).\n\n## Requirements\n\n### Platforms\n\n- Debian/Ubuntu\n\n### Chef\n\n- Chef 14+\n\n### Cookbooks\n\n- nginx\n- apache2\n- gpg\n\nYou'll need to generate the PGP key separately and provide the data in the databag.\n\n## Attributes\n\nAttributes in this cookbook are set via the default recipe with data from the data bag. The following attributes are used, in the `reprepro` namespace.\n\n- `fqdn` - the fqdn that would go in sources.list\n- `description` - a description of the repository\n- `pgp_email` - the email address of the pgp key\n- `pgp_fingerprint` - the finger print of the pgp key\n\n## Data Bag based repository\n\nCreate a data bag to store the repository information. It should be named `reprepro`. The recipe uses the `main` data bag item.\n\n```ruby\n{\n  \"id\": \"main\",\n  \"fqdn\": \"apt.example.com\",\n  \"repo_dir\": \"/srv/apt\",\n  \"incoming\": \"/srv/apt_incoming\",\n  \"description\": \"APT Repository for our packages.\",\n  \"codenames\": [\n    \"lucid\", \"hardy\", \"sid\", \"squeeze\", \"lenny\"\n  ],\n  \"allow\": [\n    \"unstable\u003esid\", \"stable\u003esqueeze\"\n  ],\n  \"pgp\": {\n    \"email\": \"packages@example.com\",\n    \"fingerprint\": \"PGP Fingerprint for the key\",\n    \"public\": \"-----BEGIN PGP PUBLIC KEY BLOCK-----\\n-----END PGP PUBLIC KEY BLOCK-----\\n\",\n    \"private\": \"-----BEGIN PGP PRIVATE KEY BLOCK-----\\n-----END PGP PRIVATE KEY BLOCK-----\\n\"\n  },\n  \"pulls\": {\n    \"name\": \"sid\",\n    \"from\": \"sid\",\n    \"component\": \"main\"\n  },\n  \"architectures\": [\n    \"amd64\",\"i386\",\"all\",\"source\"\n  ]\n}\n```\n\n- `fqdn`: the fully qualified domain name of the apt server, used in\n- in the Apache vhost template and as the Origin in the distributions\n- configuration. Also saved to the node as\n- `node['reprepro']['fqdn]`.\n- `repo_dir`: directory on disk where reprepro will serve the packages\n- `incoming`: the incoming directory, used in the incoming\n- configuration.\n- `description`: description about the repository, also saved to the\n- node as `node['reprepro']['description']`.\n- `codenames`: array of codenames to set up for the repository, used\n- with allow for the Allow directive in the incoming configuration\n- `allow`: [optional] array of additional codenames to use in the incoming\n- configuration\n- `pgp`: hash of options for the pgp setup. the\n- `pgp['email']`: email address of the signing key\n- `pgp['fingerprint]`: fingerprint of the PGP key\n- `pgp['public]`: the public PGP key, should be a single line\n- (replace line endings with \\n)\n- `pgp['private]`: the private PGP key, should be a single line\n- (replace line endings with \\n)\n- `pulls`: hash used in the pulls configuration.\n- `architectures`: array of architectures to create in distributions configuration\n\n## Attribute based configuration\n\nConfiguration of the repository can also be driven via attributes. The same keys available for the data bag are available via node attributes with the exception of the `pgp` hash. Using attribute based configuration will have a PGP key pair auto generated on the node when it is built.\n\n## Contributors\n\nThis project exists thanks to all the people who [contribute.](https://opencollective.com/sous-chefs/contributors.svg?width=890\u0026button=false)\n\n### Backers\n\nThank you to all our backers!\n\n![https://opencollective.com/sous-chefs#backers](https://opencollective.com/sous-chefs/backers.svg?width=600\u0026avatarHeight=40)\n\n### Sponsors\n\nSupport this project by becoming a sponsor. Your logo will show up here with a link to your website.\n\n![https://opencollective.com/sous-chefs/sponsor/0/website](https://opencollective.com/sous-chefs/sponsor/0/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/1/website](https://opencollective.com/sous-chefs/sponsor/1/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/2/website](https://opencollective.com/sous-chefs/sponsor/2/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/3/website](https://opencollective.com/sous-chefs/sponsor/3/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/4/website](https://opencollective.com/sous-chefs/sponsor/4/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/5/website](https://opencollective.com/sous-chefs/sponsor/5/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/6/website](https://opencollective.com/sous-chefs/sponsor/6/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/7/website](https://opencollective.com/sous-chefs/sponsor/7/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/8/website](https://opencollective.com/sous-chefs/sponsor/8/avatar.svg?avatarHeight=100)\n![https://opencollective.com/sous-chefs/sponsor/9/website](https://opencollective.com/sous-chefs/sponsor/9/avatar.svg?avatarHeight=100)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsous-chefs%2Freprepro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsous-chefs%2Freprepro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsous-chefs%2Freprepro/lists"}