Add comprehensive date-based versioning support while maintaining v4 major version #656
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR addresses the request for better versioning examples that include dates while keeping the major v4 version. The implementation provides multiple date-based versioning strategies with full backward compatibility.
What's Added
📖 Comprehensive Documentation
version.jsontemplates for each format🔧 Enhanced VersionService
The
VersionServiceclass now supports:4.6.0) and date-based (4.2024.08.25) versions📋 Supported Version Formats
Calendar Versioning (Recommended):
4.2024.08.25Week-based:
4.2024.34Semantic + Build Metadata:
4.6.0+20240825Extended Format: Includes build date, commit hash, branch info
Usage Examples
Testing
Added comprehensive test suite covering:
Backward Compatibility
All existing functionality is preserved. The current
version.jsonformat continues to work unchanged, and theisBaseUpToDate()method maintains its existing behavior.Migration Path
Users can adopt date-based versioning by:
version.jsonThis provides the flexibility to include dates in versioning while maintaining the v4 major version as requested.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/CarbonPHP/carbon-doctrine-types/zipball/18ba5ddfec8976260ead6e866180bd5d2f71aa1d/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/CarbonPHP/carbon/zipball/76b5c07b8a9d2025ed1610e14cef1f3fd6ad2c24/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/DASPRiD/Enum/zipball/8dfd07c6d2cf31c8da90c53b83c026c7696dda90/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/FakerPHP/Faker/zipball/e0ee18eb1e6dc3cda3ce9fd97e5a0689a88a64b5/usr/bin/php8.3 -n -c /tmp/HIdPqD /usr/bin/composer install --dev --no-interaction(http block)https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/JayBizzle/Crawler-Detect/zipball/fbf1a3e81d61b088e7af723fb3c7a4ee92ac7e34/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/Jean85/pretty-package-versions/zipball/4d7aa5dab42e2a76d99559706022885de0e18e1a/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/Seldaek/monolog/zipball/10d85740180ecba7896c87e06a166e0c95a0e3b6/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/brick/math/zipball/fc7ed316430118cc7836bf45faff18d5dfc8de04/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/clue/redis-protocol/zipball/6f565332f5531b7722d1e9c445314b91862f6d6c/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/danharrin/livewire-rate-limiting/zipball/14dde653a9ae8f38af07a0ba4921dc046235e1a0/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/a23a2bf4f31d3518f3ecb38660c95715dfead60f/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/doctrine/inflector/zipball/6d6c96277ea252fc1304627204c3d5e6e15faa3b/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/doctrine/lexer/zipball/31ad66abc0fc9e1a1f2d9bc6a42668d2fbbcd6dd/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/dragonmantank/cron-expression/zipball/8c784d071debd117328803d86b2097615b457500/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/egulias/EmailValidator/zipball/d42c8731f0624ad6bdc8d3e5e9a4524f68801cfa/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/fruitcake/php-cors/zipball/3d158f36e7875e2f040f37bc0573956240a5a38b/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/guzzle/guzzle/zipball/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/guzzle/psr7/zipball/c2270caaabe631b3b44c85f99e5a04bbb8060d16/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/guzzle/uri-template/zipball/4f4bbd4e7172148801e76e3decc1e559bdee34e1/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/iamcal/SQLParser/zipball/947083e2dca211a6f12fb1beb67a01e387de9b62/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/HIdPqD /usr/bin/composer install --dev --no-interaction(http block)https://api.github.com/repos/jenssegers/agent/zipball/daa11c43729510b3700bc34d414664966b03bffe/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/larastan/larastan/zipball/6431d010dd383a9279eb8874a76ddb571738564a/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/HIdPqD /usr/bin/composer install --dev --no-interaction(http block)https://api.github.com/repos/laravel/framework/zipball/2ee2ba94ae60efd24c7a787cbb1a2f82f714bb20/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/laravel/pail/zipball/8cc3d575c1f0e57eeb923f366a37528c50d2385a/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/HIdPqD /usr/bin/composer install --dev --no-interaction(http block)https://api.github.com/repos/laravel/pint/zipball/0345f3b05f136801af8c339f9d16ef29e6b4df8a/usr/bin/php8.3 -n -c /tmp/HIdPqD /usr/bin/composer install --dev --no-interaction(http block)https://api.github.com/repos/laravel/prompts/zipball/86a8b692e8661d0fb308cec64f3d176821323077/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/laravel/sail/zipball/a09097bd2a8a38e23ac472fa6a6cf5b0d1c1d3fe/usr/bin/php8.3 -n -c /tmp/HIdPqD /usr/bin/composer install --dev --no-interaction(http block)https://api.github.com/repos/laravel/serializable-closure/zipball/b352cf0534aa1ae6b4d825d1e762e35d43f8a841/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/nette/schema/zipball/da801d52f0354f70a638673c4a0f04e16529431d/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/nette/utils/zipball/c930ca4e3cf4f17dcfb03037703679d2396d2ede/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/nikic/PHP-Parser/zipball/f103601b29efebd7ff4a1ca7b3eeea9e3336a2a2/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/nunomaduro/termwind/zipball/dfa08f390e509967a15c22493dc0bac5733d9123/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/phpstan/phpstan/zipball/41600c8379eb5aee63e9413fe9e97273e25d57e4/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)/usr/bin/php8.3 -n -c /tmp/HIdPqD /usr/bin/composer install --dev --no-interaction(http block)https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/ramsey/collection/zipball/344572933ad0181accbf4ba763e85a0306a8c5e2/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/ramsey/uuid/zipball/4e0e23cc785f0724a0e838279a9eb03f28b092a0/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/schmittjoh/php-option/zipball/638a154f8d4ee6a5cfa96d6a34dfbe0cffa9566d/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/96aaebcf4f50d3d2692ab81d2c5132e425bca266/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/spatie/laravel-package-tools/zipball/f09a799850b1ed765103a4f0b4355006360c49a5/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/clock/zipball/b81435fbd6648ea425d1ee96a2d8e68f4ceacd24/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/console/zipball/5f360ebc65c55265a74d23d7fe27f957870158a1/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/css-selector/zipball/601a5ce9aaad7bf10797e3663faefce9e26c24e2/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/deprecation-contracts/zipball/63afe740e99a13ba87ec199bb07bbdee937a5b62/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/error-handler/zipball/0b31a944fcd8759ae294da4d2808cbc53aebd0c3/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/59eb412e93815df44f05f342958efa9f46b1e586/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/event-dispatcher/zipball/497f73ac996a598c92409b44ac43b6690c4f666d/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/finder/zipball/2a6614966ba1074fa93dae0bc804227422df4dfe/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/http-foundation/zipball/6877c122b3a6cc3695849622720054f6e6fa5fa6/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/http-kernel/zipball/6ecc895559ec0097e221ed2fd5eb44d5fede083c/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/mailer/zipball/d43e84d9522345f96ad6283d5dfccc8c1cfc299b/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/mime/zipball/e0a0f859148daf1edf6c60b398eb40bfc96697d1/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/380872130d3a5dd3ace2f4010d95125fde5d5c70/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/9614ac4d8061dc257ecc64cba1b140873dce8ad3/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-mbstring/zipball/6d857f4d76bd4b343eac26d6b539585d2bc56493/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-php80/zipball/0cc9dd0f17f61d8131e7df6b84bd344899fe2608/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-php83/zipball/17f6f9a6b1735c0f163024d959f700cfbc5155e5/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-php84/zipball/d8ced4d875142b6a7426000426b8abc631d6b191/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-php85/zipball/d4e5fcd4ab3d998ab16c0db48e6cbb9a01993f91/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/process/zipball/40c295f2deb408d5e9d2d32b8ba1dd61e36f05af/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/routing/zipball/7614b8ca5fa89b9cd233e21b627bfc5774f586e4/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/service-contracts/zipball/f021b05a130d35510bd6b25fe9053c2a8a15d5d4/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/string/zipball/42f505aff654e62ac7ac2ce21033818297ca89ca/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/translation-contracts/zipball/df210c7a2573f1913b2d17cc95f90f53a73d8f7d/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/translation/zipball/81b48f4daa96272efcce9c7a6c4b58e629df3c90/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/uid/zipball/a69f69f3159b852651a6bf45a9fdd149520525bb/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/var-dumper/zipball/53205bea27450dc5c65377518b3275e126d45e75/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/symfony/yaml/zipball/b8d7d868da9eb0919e99c8830431ea087d6aae30/usr/bin/php8.3 -n -c /tmp/HIdPqD /usr/bin/composer install --dev --no-interaction(http block)https://api.github.com/repos/thephpleague/commonmark/zipball/10732241927d3971d28e7ea7b5712721fa2296ca/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/thephpleague/config/zipball/754b3604fb2984c71f4af4a9cbe7b57f346ec1f3/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/thephpleague/flysystem-local/zipball/6691915f77c7fb69adfb87dcd550052dc184ee10/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/thephpleague/flysystem/zipball/2203e3151755d874bb2943649dae1eb8533ac93e/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/thephpleague/mime-type-detection/zipball/2d6702ff215bf922936ccc1ad31007edc76451b9/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/thephpleague/uri-interfaces/zipball/08cfc6c4f3d811584fb09c37e2849e6a7f9b0742/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/thephpleague/uri/zipball/81fb5145d2644324614cc532b28efd0215bda430/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/0d72ac1c00084279c1816675284073c5a337c20d/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/vlucas/phpdotenv/zipball/24ac4c74f91ee2c193fa1aaa5c249cb0822809af/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/voku/portable-ascii/zipball/b1d923f88091c6bf09699efcd7c8a1b1bfd7351d/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)https://api.github.com/repos/wikimedia/composer-merge-plugin/zipball/a03d426c8e9fb2c9c569d9deeb31a083292788bc/usr/bin/php8.3 -n -c /tmp/R05B2Z /usr/bin/composer install --no-interaction(http block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.