{"id":16560801,"url":"https://github.com/bjagg/up4-up5-upgrade-scripts","last_synced_at":"2025-09-02T15:38:43.009Z","repository":{"id":82301242,"uuid":"321216866","full_name":"bjagg/uP4-uP5-upgrade-scripts","owner":"bjagg","description":"Misc Clojure scripts to migrate data files","archived":false,"fork":false,"pushed_at":"2023-12-15T17:35:00.000Z","size":41,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-15T14:18:49.729Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bjagg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-12-14T03:02:35.000Z","updated_at":"2021-06-23T00:57:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"dea0bada-7d32-40f3-a93b-b887bb68612d","html_url":"https://github.com/bjagg/uP4-uP5-upgrade-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjagg%2FuP4-uP5-upgrade-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjagg%2FuP4-uP5-upgrade-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjagg%2FuP4-uP5-upgrade-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjagg%2FuP4-uP5-upgrade-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjagg","download_url":"https://codeload.github.com/bjagg/uP4-uP5-upgrade-scripts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241962137,"owners_count":20049610,"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-10-11T20:30:01.891Z","updated_at":"2025-03-05T04:22:56.848Z","avatar_url":"https://github.com/bjagg.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uP4-uP5-upgrade-scripts\nMisc Clojure scripts to migrate data files\n\n## Setting Up for Clojure Scripts\n\nClojure is a LISP that runs on the JVM (and in JavaScript). Some environment setup is needed to run these scripts.\n\n### Install SDKMan\n\nSDKMan is a tool that supports installing different versions of Java and other dev tools.\nWe will use it to install Java and Leiningen, the Clojure build tool.\n\n- Follow instructions at https://sdkman.io/install\n\n### Install Java\n\nYou can skip this step if you already have JDK 1.8 or newer. If not, then follow the steps below:\n\n```bash\nsdk list java\nsdk install java 8.0.275-amzn\n```\n\nAbove, is an example of installing a version of Java 8 JDK.\n\n### Install Leiningen\n\nIf you have the Clojure build tool Leiningen installed, skip this step. Otherwise:\n\n```bash\nsdk install leiningen\n```\n### Install `lein-exec` Plugin\n\nTo run Clojure scripts, we need to install the `lein-exec` plugin. We will install it globally.\n\n```bash\nmkdir ~/.lein\necho '{:user {:plugins [[lein-exec \"0.3.7\"]]}}' \u003e ~/.lein/profiles.clj\nlein exec -e '(println \"hi\")'\n```\n\n### Install `lein-exec` Shell Scripts\n\nThe last step for Clojure scripts is to download and set executable flag on two scripts.\n\n```bash\nwget https://raw.github.com/kumarshantanu/lein-exec/master/lein-exec\nwget https://raw.github.com/kumarshantanu/lein-exec/master/lein-exec-p\nchmod a+x lein-exec lein-exec-p\nmv lein-exec lein-exec-p ~/bin  # assuming ~/bin is in PATH\n```\n\n## References\n- https://sdkman.io/\n- https://leiningen.org/\n- https://github.com/kumarshantanu/lein-exec\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjagg%2Fup4-up5-upgrade-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjagg%2Fup4-up5-upgrade-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjagg%2Fup4-up5-upgrade-scripts/lists"}