{"id":15692316,"url":"https://github.com/tinchodias/baselinebuilder","last_synced_at":"2025-05-08T02:32:45.062Z","repository":{"id":84204067,"uuid":"258267019","full_name":"tinchodias/BaselineBuilder","owner":"tinchodias","description":"Quickly create a BaselineOf for your new Pharo project","archived":false,"fork":false,"pushed_at":"2024-11-18T23:23:42.000Z","size":49,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-26T07:01:44.999Z","etag":null,"topics":["boilerplate","metacello","pharo"],"latest_commit_sha":null,"homepage":"","language":"Smalltalk","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinchodias.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-04-23T16:37:13.000Z","updated_at":"2024-11-18T23:23:46.000Z","dependencies_parsed_at":"2023-05-23T23:00:15.309Z","dependency_job_id":null,"html_url":"https://github.com/tinchodias/BaselineBuilder","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/tinchodias%2FBaselineBuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinchodias%2FBaselineBuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinchodias%2FBaselineBuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinchodias%2FBaselineBuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinchodias","download_url":"https://codeload.github.com/tinchodias/BaselineBuilder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243070214,"owners_count":20231404,"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":["boilerplate","metacello","pharo"],"created_at":"2024-10-03T18:31:30.758Z","updated_at":"2025-03-11T16:31:17.035Z","avatar_url":"https://github.com/tinchodias.png","language":"Smalltalk","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Baseline Builder for Pharo\n\n[![CI](https://github.com/tinchodias/BaselineBuilder/actions/workflows/main.yml/badge.svg)](https://github.com/tinchodias/BaselineBuilder/actions/workflows/main.yml)\n\nQuickly create a `BaselineOf` for your new [Pharo](https://pharo.org/) project. You specify a project name (the prefix of your packages) and a list of external project names (the prefix of packages in which your packages depend). The builder analyses your code to establish the internal and external relations between packages, and generates a boilerplate `BaselineOf` for you. The package relations are established using the static analysis provided by Pharo's `Tool-DependencyAnalyser`.\n\n\n## How to use it\n\n**Example scenario:** You started to code `XYZ`, a new project with several packages such as `XYZ-Core`, `XYZ-Examples` and `XYZ-Tests`.\nThe project needs other (\"external\") projects that you loaded via Metacello during the coding session: [Bloc](https://github.com/pharo-graphics/Bloc) and [Chalten](https://github.com/ba-st/Chalten). \nEverything looks good enough to be exported out of the current Pharo image.\nSo, you already created a github repository, you create the `.project` meta-data file via Iceberg, and you added and pushed all `XYZ-*` packages to the repository.\n\n**GREAT**👍 Now this builder can help you!\n\n### Steps\n\n1. Install the builder:\n~~~Smalltalk\nMetacello new\n    baseline: 'BaselineBuilder';\n    repository: 'github://tinchodias/BaselineBuilder';\n    load.\n~~~\n\n2. Specify the parameters and build the new (draft) baseline:\n~~~Smalltalk\nBaselineBuilder new\n\tprojectName: 'XYZ';\n\texternalProjectNames: #(Bloc Chalten);\n\tbuild;\n\tbrowseBuiltBaselineClass.\n~~~\n\n3. For each external project, you must fill the repo's URL, and may need choose a specific baseline group such as `loads: #full`. \n\n4. Remove the `Draft` suffix from the class name, when ready.\n\n5. In Iceberg, add the new `BaselineOfXYZ` package and commit.\n\n6. This script copies to clipboard a \"Install\" script for your `README.md` (now just paste it):\n~~~Smalltalk\nBaselineBuilder new\n\tprojectName: 'XYZ';\n\tcopyToClipboardInstallMarkdownWith: 'github://MyUserName/XYZ'\n~~~\n\n\n## Custom packages prefix/regex\n\nBy default, the builder considers internal to any package prefixed by the project's name as a prefix (`XYZ-*` in the example). You need to customize the criteria when it's not the case. Builder's API provides `internalPackageNamesPrefix:` and `internalPackageNamesRegex:` to specify something else.\n\n\n## License\n\nThe code is licensed under [MIT](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinchodias%2Fbaselinebuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinchodias%2Fbaselinebuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinchodias%2Fbaselinebuilder/lists"}