{"id":37065403,"url":"https://github.com/osechet/bld","last_synced_at":"2026-01-14T07:39:23.918Z","repository":{"id":57415557,"uuid":"107025998","full_name":"osechet/bld","owner":"osechet","description":"A project build helper","archived":false,"fork":false,"pushed_at":"2022-12-27T15:35:35.000Z","size":54,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T18:55:52.581Z","etag":null,"topics":["build","build-helper","helper","project"],"latest_commit_sha":null,"homepage":"","language":"Python","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/osechet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-10-15T15:49:36.000Z","updated_at":"2020-04-21T16:31:59.000Z","dependencies_parsed_at":"2023-01-31T05:30:56.351Z","dependency_job_id":null,"html_url":"https://github.com/osechet/bld","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/osechet/bld","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osechet%2Fbld","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osechet%2Fbld/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osechet%2Fbld/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osechet%2Fbld/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osechet","download_url":"https://codeload.github.com/osechet/bld/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osechet%2Fbld/sbom","scorecard":{"id":713409,"data":{"date":"2025-08-11","repo":{"name":"github.com/osechet/bld","commit":"207d00f90d41cb980d8a36298bf8ce8e2e6e5881"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2025-49 / GHSA-5rjg-fvgr-3xxf","Warn: Project is vulnerable to: GHSA-cx63-2mw6-8hw5","Warn: Project is vulnerable to: PYSEC-2022-43012 / GHSA-r9hx-vwmv-q579"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T08:47:26.823Z","repository_id":57415557,"created_at":"2025-08-22T08:47:26.823Z","updated_at":"2025-08-22T08:47:26.823Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28413463,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T05:26:33.345Z","status":"ssl_error","status_checked_at":"2026-01-14T05:21:57.251Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["build","build-helper","helper","project"],"created_at":"2026-01-14T07:39:23.163Z","updated_at":"2026-01-14T07:39:23.907Z","avatar_url":"https://github.com/osechet.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bld\n\n[![Build Status](https://travis-ci.org/osechet/bld.svg?branch=master)](https://travis-ci.org/osechet/bld)\n[![codecov](https://codecov.io/gh/osechet/bld/branch/master/graph/badge.svg)](https://codecov.io/gh/osechet/bld)\n\nBld (pronouced /bɪld/ as build) is a project build helper. It is mainly aimed at complex project composed by modules with different languages.\n\nA typical project example is a client/server project where the server is coded with one language (C++, Go, Python...) and the client in another (Java, Javascript...). Both modules uses their own build system that can rarely be the same. To build the whole project, you end by creating a lot of scripts that cover the main situations.\n\nBld can be used to avoid the creation of all those scripts. Just create a Python module for each project's module where you describe how to build it.\n\n## Installation\n\n* From source:\n```bash\ngit clone https://github.com/osechet/bld\ncd bld\npython setup.py install\n```\n\n## Usage\n\n* At the root of your project, create a `projectfile.py` file:\n```python\n\"\"\"\nProject definition.\n\"\"\"\n\nNAME = 'super-project'\nVERSION = '0.1.0-dev'\nMODULES = ['client', 'server']\nBUILD_DIR = 'build'\n```\n\n* Set the `PROJECT_HOME` environment variable to define the root directory of your project:\n```bash\nexport PROJECT_HOME=\"/path/to/super-project\"\n```\n\n* Create a script for each project module in the `${PROJECT_HOME}/bld` directory:\n\nclient.py:\n```python\n\"\"\"\nThe client module.\n\"\"\"\n\nimport os\n\ndef build(project, args):\n    \"\"\"\n    Build the module.\n    \"\"\"\n    # Aliases\n    run = project.run\n\n    module_dir = os.path.join(project.root_dir, 'client')\n    with project.chdir(module_dir):\n        with project.step('client:build', \"Build\"):\n            run('echo \"Building...\"')\n            run('sleep 2')\n```\n\nserver.py:\n```python\n\"\"\"\nThe server module.\n\"\"\"\n\nimport os\nimport platform\n\ndef build(project, args):\n    \"\"\"\n    Build the module.\n    \"\"\"\n    # Aliases\n    run = project.run\n\n    module_dir = os.path.join(project.root_dir, 'server')\n    with project.chdir(module_dir):\n        with project.step('server:build', \"Build\"):\n            run('echo \"Building...\"')\n            run('sleep 3')\n```\n\n* Call `bld` to build the whole project or `bld \u003cmodule\u003e` to build a specific module.\n\n### Reports\n\nBld automatically monitor the time execution of the build. The result is stored at the end of the build in the `reports/time.csv` file. The project's `step()` method can be used to monitor a specific block of code. The time report list all the executed steps by name but also the total build execution:\n```csv\nclient:build,server:build,total\n2.015258717990946,3.018017319991486,5.0884078509989195\n```\n\n## Development\n\nNote: It is advised to work inside a virtual environment. In this section, we'll work with venv.\n\n* Create the virtual environement:\n```bash\npython3 -m venv ./venv\n```\n\n* Later to open the virtual environment:\n```\n. ./venv/bin/activate\n```\n\n* Install requirements (once in virtual environment):\n```bash\npython -m pip install -r requirements.txt\npython -m pip install -r requirements_dev.txt\n```\n\n* Run the `bld` command:\n```bash\n./bldlib/bld.py -h\n```\n\n### Unit tests\n\nTo run unit tests, call `pytest`. For code coverage, run `pytest --cov=bldlib`.\n\n### Tests\n\nTo install the package being developed, run `pip install -e .` from the project's root directory. You can then uninstall it with `pip uninstall bld`.\n\n### Publishing\n\n```bash\nrm -rf dist\npython setup.py sdist\ntwine upload dist/*\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosechet%2Fbld","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosechet%2Fbld","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosechet%2Fbld/lists"}