{"id":15482955,"url":"https://github.com/devth/lein-inferv","last_synced_at":"2025-07-30T13:17:58.434Z","repository":{"id":57719876,"uuid":"305211475","full_name":"devth/lein-inferv","owner":"devth","description":"A very opinionated alternative to semantic versioning for Leiningen","archived":false,"fork":false,"pushed_at":"2020-10-28T23:29:15.000Z","size":13,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-08T16:17:02.000Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devth.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-18T22:52:53.000Z","updated_at":"2023-01-17T01:01:30.000Z","dependencies_parsed_at":"2022-09-26T21:41:08.762Z","dependency_job_id":null,"html_url":"https://github.com/devth/lein-inferv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/devth/lein-inferv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devth%2Flein-inferv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devth%2Flein-inferv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devth%2Flein-inferv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devth%2Flein-inferv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devth","download_url":"https://codeload.github.com/devth/lein-inferv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devth%2Flein-inferv/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267874513,"owners_count":24158765,"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","status":"online","status_checked_at":"2025-07-30T02:00:09.044Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-02T05:10:25.951Z","updated_at":"2025-07-30T13:17:58.406Z","avatar_url":"https://github.com/devth.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lein-inferv\n\n\u003ca href=\"https://clojars.org/lein-inferv\"\u003e\n  \u003cimg src=\"https://img.shields.io/clojars/v/lein-inferv?style=for-the-badge\"\n    alt=\"lein-inferv\"\n    data-canonical-src=\"https://img.shields.io/clojars/v/lein-inferv?style=for-the-badge\"\n    style=\"max-width:100%;\"\n  /\u003e\n\u003c/a\u003e\n\u003cbr /\u003e\n\n`lein-inferv` is a highly opinionated way of inferring version from the current\ndate, time, and git version for\n[Leiningen](https://github.com/technomancy/leiningen) projects.\n\n## Configuration\n\nThere is no configuration.\n\n## Usage\n\n1. In `project.clj` set the version to `\"_\"` (this is not technically necessary,\n   but a good indicator that the standard version in Leiningen is not used)\n1. Add to the `:plugins` vector in `project.clj`:\n\n   ```clojure\n   [lein-inferv \"LATEST\"]\n   ```\n\n1. Test it out, e.g. using [`lein\n   pprint`](https://github.com/technomancy/leiningen/tree/master/lein-pprint):\n\n   ```bash\n   lein pprint\n   ```\n\nNow the `:version` used by lein will be inferred in format `x.y.z` where:\n\n- `x` is the current date in UTC\n- `y` is the current time in UTC\n- `z` is the short git sha of the latest commit\n\n## License\n\nCopyright © 2020 Trevor Hartman\n\nThis program and the accompanying materials are made available under the\nterms of the Eclipse Public License 2.0 which is available at\nhttp://www.eclipse.org/legal/epl-2.0.\n\nThis Source Code may also be made available under the following Secondary\nLicenses when the conditions for such availability set forth in the Eclipse\nPublic License, v. 2.0 are satisfied: GNU General Public License as published by\nthe Free Software Foundation, either version 2 of the License, or (at your\noption) any later version, with the GNU Classpath Exception which is available\nat https://www.gnu.org/software/classpath/license.html.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevth%2Flein-inferv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevth%2Flein-inferv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevth%2Flein-inferv/lists"}