├── .clj-kondo └── config.edn ├── .cljfmt-indents.edn ├── .github ├── CODEOWNERS └── workflows │ └── clojure.yml ├── .gitignore ├── README.md ├── SECURITY.md ├── deps.edn ├── examples ├── migrations │ ├── migrations.edn │ └── rename-things │ │ ├── deps.edn │ │ ├── migration.sh │ │ └── src │ │ └── migration.clj └── repository │ ├── ns_a.clj │ └── ns_b.clj ├── run-locally.sh ├── run.sh ├── src └── ordnungsamt │ ├── close_open_prs.clj │ ├── core.clj │ ├── ops │ └── close_all_prs.clj │ ├── render.clj │ ├── run_locally.clj │ └── utils.clj ├── test-resources ├── example-repo │ ├── .migrations.edn │ ├── 4'33 │ ├── clouds.md │ └── fanon.clj └── service-migrations │ ├── cleanup.sh │ ├── failing-migration.sh │ ├── migrations.edn │ ├── noop-migration.sh │ ├── remove-file-migration.sh │ └── rename-file-migration.sh └── test ├── integration └── integration │ ├── apply_migrations_test.clj │ └── aux │ ├── data.clj │ ├── helpers.clj │ └── init.clj └── unit └── ordnungsamt └── core_test.clj /.clj-kondo/config.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/.clj-kondo/config.edn -------------------------------------------------------------------------------- /.cljfmt-indents.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/.cljfmt-indents.edn -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @nubank/service-core-tools 2 | -------------------------------------------------------------------------------- /.github/workflows/clojure.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/.github/workflows/clojure.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/SECURITY.md -------------------------------------------------------------------------------- /deps.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/deps.edn -------------------------------------------------------------------------------- /examples/migrations/migrations.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/examples/migrations/migrations.edn -------------------------------------------------------------------------------- /examples/migrations/rename-things/deps.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/examples/migrations/rename-things/deps.edn -------------------------------------------------------------------------------- /examples/migrations/rename-things/migration.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/examples/migrations/rename-things/migration.sh -------------------------------------------------------------------------------- /examples/migrations/rename-things/src/migration.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/examples/migrations/rename-things/src/migration.clj -------------------------------------------------------------------------------- /examples/repository/ns_a.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/examples/repository/ns_a.clj -------------------------------------------------------------------------------- /examples/repository/ns_b.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/examples/repository/ns_b.clj -------------------------------------------------------------------------------- /run-locally.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/run-locally.sh -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/run.sh -------------------------------------------------------------------------------- /src/ordnungsamt/close_open_prs.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/src/ordnungsamt/close_open_prs.clj -------------------------------------------------------------------------------- /src/ordnungsamt/core.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/src/ordnungsamt/core.clj -------------------------------------------------------------------------------- /src/ordnungsamt/ops/close_all_prs.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/src/ordnungsamt/ops/close_all_prs.clj -------------------------------------------------------------------------------- /src/ordnungsamt/render.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/src/ordnungsamt/render.clj -------------------------------------------------------------------------------- /src/ordnungsamt/run_locally.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/src/ordnungsamt/run_locally.clj -------------------------------------------------------------------------------- /src/ordnungsamt/utils.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/src/ordnungsamt/utils.clj -------------------------------------------------------------------------------- /test-resources/example-repo/.migrations.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test-resources/example-repo/.migrations.edn -------------------------------------------------------------------------------- /test-resources/example-repo/4'33: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test-resources/example-repo/clouds.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test-resources/example-repo/clouds.md -------------------------------------------------------------------------------- /test-resources/example-repo/fanon.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test-resources/example-repo/fanon.clj -------------------------------------------------------------------------------- /test-resources/service-migrations/cleanup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test-resources/service-migrations/cleanup.sh -------------------------------------------------------------------------------- /test-resources/service-migrations/failing-migration.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test-resources/service-migrations/failing-migration.sh -------------------------------------------------------------------------------- /test-resources/service-migrations/migrations.edn: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test-resources/service-migrations/migrations.edn -------------------------------------------------------------------------------- /test-resources/service-migrations/noop-migration.sh: -------------------------------------------------------------------------------- 1 | echo "I quietly don't do anything" > /dev/null 2 | -------------------------------------------------------------------------------- /test-resources/service-migrations/remove-file-migration.sh: -------------------------------------------------------------------------------- 1 | rm "4'33" 2 | -------------------------------------------------------------------------------- /test-resources/service-migrations/rename-file-migration.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test-resources/service-migrations/rename-file-migration.sh -------------------------------------------------------------------------------- /test/integration/integration/apply_migrations_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test/integration/integration/apply_migrations_test.clj -------------------------------------------------------------------------------- /test/integration/integration/aux/data.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test/integration/integration/aux/data.clj -------------------------------------------------------------------------------- /test/integration/integration/aux/helpers.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test/integration/integration/aux/helpers.clj -------------------------------------------------------------------------------- /test/integration/integration/aux/init.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test/integration/integration/aux/init.clj -------------------------------------------------------------------------------- /test/unit/ordnungsamt/core_test.clj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nubank/ordnungsamt/HEAD/test/unit/ordnungsamt/core_test.clj --------------------------------------------------------------------------------