{"id":19311077,"url":"https://github.com/boxuk/fruity","last_synced_at":"2026-05-14T18:32:40.698Z","repository":{"id":2289016,"uuid":"3246802","full_name":"boxuk/fruity","owner":"boxuk","description":"The Box UK Package Manager","archived":false,"fork":false,"pushed_at":"2013-05-21T08:28:17.000Z","size":146,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-11-17T03:10:54.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://www.boxuk.com","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boxuk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-23T13:33:18.000Z","updated_at":"2013-12-20T02:00:00.000Z","dependencies_parsed_at":"2022-09-05T22:50:16.740Z","dependency_job_id":null,"html_url":"https://github.com/boxuk/fruity","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/boxuk/fruity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxuk%2Ffruity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxuk%2Ffruity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxuk%2Ffruity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxuk%2Ffruity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxuk","download_url":"https://codeload.github.com/boxuk/fruity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxuk%2Ffruity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33037829,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"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-11-10T00:27:35.318Z","updated_at":"2026-05-14T18:32:40.683Z","avatar_url":"https://github.com/boxuk.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fruity - The Box UK Package Manager\n\nFruity is a tool for monitoring repositories which contain libraries that can be\nbuilt as packages.  When tags are made in these repositories Fruity handles\nbuilding the packages and adding them to whatever distribution method that library\nmay be using.  At the moment Fruity supports PEAR packages for PHP, and Clojars libraries\nfor Clojure projects.\n\n## Usage\n\nWhen you have everything set up running Fruity is as simple as editing the config\nfile and then calling the binary.\n\n```bash\n./bin/fruity /path/to/config.clj\n```\n\nIt's suggested to run this via a CI server (eg. Jenkins), or maybe just cron.\nFruity is essentially just a wrapper for a bunch of other tools like...\n\n* PEAR\n* SVN\n* Pirum\n* Leiningen\n* Git\n\n## Building Fruity\n\nTo build the Fruity executable just use [Leiningen](https://github.com/technomancy/leiningen).\n\n```bash\nlein bin\n```\n\nThis will leave you with an executable _boxuk.fruity-1.0.0_.\n\n## Fruity Config File\n\nFruity uses a single configuration file, and provides a sample one you can copy (config.clj-sample).\nIt's reccomended you take a copy of this file and put it in version control somewhere so\nit's safe.\n\n## PEAR Libraries\n\nFor PEAR libraries Fruity requires that you keep your entire PEAR channel in a\nSubversion repository. PEAR libraries have the type *:pear*.  So first create a\nrepository on your network to store this in.  Then you'll need to set up a channel\nusing Pirum.\n\n\u003cpre\u003e\nhttp://pirum.sensiolabs.org/\n\u003c/pre\u003e\n\nWhen your channel is created you can add the info to your config file as explained in\nthe sample file.  Your library config will then look something like this...\n\n```clojure\n{ :name \"lib-name\"\n  :type :pear\n  :scm :git\n  :url \"http://github.com/me/repo\" }\n```\n\nYou can also optionally specify a *:packageCommand* that will be used to build the PEAR\npackage.  If you don't specify this it defaults to _pear package_.\n\n## Clojars Projects\n\nAdding a Clojure library for distribution on Clojars.org is easy.  The library config\nwill be something like this:\n\n```clojure\n{ :name \"some-name\"\n  :type :clojars\n  :scm :svn\n  :url \"http://svn.mydomain.com/myproject\" }\n```\n\n## SVN/Git\n\nFruity supports storing projects in either Subversion of Git.  For SVN projects specify\nthe path to the root below the usual */trunk* */tags* and */branches*.  And for Git\nprojects just give the path to the repository.\n\n### Git Tag Names\n\nFor Git projects tag names are assumed to be in the format *vX.X.X*.  ie. a *v* as a\nprefix and then the version number.\n\n## Github Helper\n\nWhen specifying your library config there's also a Github helper function which takes\nthe user/organisation name, and the project name.\n\n```clojure\n:libraries [\n    (github \"user\" \"project\")\n    (github \"user\" \"another\" {:type :clojars})\n]\n```\n\nThe optional third argument is a map that can override any other the config parameters\nyou need to tweak.\n\n## Plugins\n\nIf you're using an SCM or a repository that's not supported you can add these via a plugin.\nCheck out the sample file, and the current implementations to see how.  If you do write your\nown plugins please own a pull request to contribute them back!\n\n## License\n\nDual licensed under GPLv2 and MIT.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxuk%2Ffruity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxuk%2Ffruity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxuk%2Ffruity/lists"}