{"id":21056037,"url":"https://github.com/xp-framework/glue","last_synced_at":"2025-03-14T00:15:02.814Z","repository":{"id":17082558,"uuid":"19847635","full_name":"xp-framework/glue","owner":"xp-framework","description":"Glues together XP dependencies from various sources","archived":false,"fork":false,"pushed_at":"2014-12-31T17:51:31.000Z","size":712,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T19:22:24.310Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"SideBarEnhancements-org/SideBarEnhancements","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xp-framework.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":"2014-05-16T07:06:09.000Z","updated_at":"2014-12-31T17:51:32.000Z","dependencies_parsed_at":"2022-08-26T11:31:37.529Z","dependency_job_id":null,"html_url":"https://github.com/xp-framework/glue","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/xp-framework%2Fglue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xp-framework%2Fglue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xp-framework%2Fglue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xp-framework%2Fglue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xp-framework","download_url":"https://codeload.github.com/xp-framework/glue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243500787,"owners_count":20300775,"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-11-19T16:48:25.430Z","updated_at":"2025-03-14T00:15:02.762Z","avatar_url":"https://github.com/xp-framework.png","language":"PHP","readme":"Glue\n====\nThis tool glues together XP Framework projects. It depends on a `glue.json` file which contains project and dependency information:\n\n```json\n{\n  \"name\"    : \"thekid/dialog\",\n  \"version\" : \"4.0.0\",\n  \"require\" : {\n    \"xp-forge/mustache\" : \"\u003e=1.2\",\n    \"xp-framework/core\" : \"~6.0\"\n  }\n}\n```\n\nTo fetch the dependencies, simply run Glue's *install* command:\n\n```sh\n$ glue install\n===\u003e Running xp.glue.install.Installation@[\n  xp-forge/mustache =\u003e xp.glue.Dependency\u003cxp-forge/mustache@\u003e=1.2.0\u003e\n  xp-framework/core =\u003e xp.glue.Dependency\u003cxp-framework/core@\u003e=6.0,\u003c7.0.0\u003e\n]\nxp-forge/mustache @ \u003e=1.2.0: Checkout[local] 1.3.0\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\mustache\\src\\main\\php\\\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\mustache\\src\\test\\php\\\nxp-framework/core @ \u003e=6.0,\u003c7.0.0: Checkout[local] 6.0.0\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\core\\src\\main\\jay\\\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\core\\src\\main\\php\\\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\core\\src\\main\\resources\\\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\core\\src\\test\\config\\\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\core\\src\\test\\php\\\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\core\\src\\test\\resources\\\nxp-forge/json @ \u003e=0.8,\u003c1.0.0: Checkout[local] 0.8.3\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\json\\src\\main\\php\\\n[302 ##########] -\u003eC:\\cygwin\\home\\Timm\\devel\\xp\\json\\src\\test\\php\\\n\nOK, 2 dependencies processed, 3 modules installed, 10 paths registered, 0 error(s) occured\nMemory used: 2013.09 kB (2087.81 kB peak)\nTime taken: 0.025 seconds\n```\n\nThis will fetch the libraries according to the dependency information, place them inside the current directory and adjust the class path accordingly.\n\n***After this step, you're ready to run the checked out software.***\n\nInitial setup\n-------------\nTo set up glue, symlink the `glue` script into a directory in your PATH and place a `glue.ini` file next to it. \n\n```sh\n$ cd ~/bin\n$ ln -s /path/to/glue/glue\n$ cp /path/to/glue/glue.ini .\n```\n\nOpen the configuration file and add something along the lines of the following:\n\n```ini\n[sources]\ncheckout@local=\"xp-framework@/path/to/devel/xp|xp-forge@/path/to/devel/xp\"\ngithub-release=\"https://api.github.com/\"\nartifactory@idev=\"https://friebe:******@artifactory.example.com/artifactory/\"\n```\n\nVersion specifiers\n------------------\nYou can use the following to select the version you'd like to have installed:\n\n| Specifier         | Meaning |\n| ----------------- | --------|\n| `1.0.0`, `1.0`    | Exact version match required. |\n| `!=1.0.0`         | Any version not equal to `1.0.0` will match this. |\n| `\u003e1.2`, `\u003e=1.2.3` | A greater than / great than or equal to constraint. |\n| `\u003c1.2`, `\u003c=1.2.3` | A less than / less than or equal to constraint. |\n| `\u003e=1.2,\u003c1.3`      | Use commas to separate multiple conditions applied with a logical **and**. |\n| `~1.2`            | The next significant release, meaning `\u003e=1.2,\u003c2.0`, so any 1.x version is OK. |\n| `1.2.*`           | Any version starting with `1.2` matches this wildcard. |\n\nComparisons are performed accordint to [semantic versioning](http://semver.org/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxp-framework%2Fglue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxp-framework%2Fglue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxp-framework%2Fglue/lists"}