{"id":19820034,"url":"https://github.com/freelancer/flarc","last_synced_at":"2025-05-01T11:33:22.938Z","repository":{"id":90761737,"uuid":"184514799","full_name":"freelancer/flarc","owner":"freelancer","description":"Arcanist extensions used at Freelancer.com.","archived":false,"fork":false,"pushed_at":"2024-10-25T05:29:29.000Z","size":455,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-10-26T11:41:35.950Z","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":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freelancer.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":"2019-05-02T03:18:10.000Z","updated_at":"2024-10-25T05:29:33.000Z","dependencies_parsed_at":"2024-03-08T15:46:24.818Z","dependency_job_id":"188d8160-7de1-42a1-b433-54c9ca80c231","html_url":"https://github.com/freelancer/flarc","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/freelancer%2Fflarc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fflarc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fflarc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freelancer%2Fflarc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freelancer","download_url":"https://codeload.github.com/freelancer/flarc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224254353,"owners_count":17281146,"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-12T10:21:09.975Z","updated_at":"2025-05-01T11:33:22.920Z","avatar_url":"https://github.com/freelancer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flarc\n\n`flarc` is a [libphutil library](https://secure.phabricator.com/book/phabcontrib/article/adding_new_classes/#creating-libraries) that contains various [Arcanist](https://secure.phabricator.com/book/phabricator/article/arcanist/) extensions used at Freelancer.com, mostly relating to [linting](https://secure.phabricator.com/book/phabricator/article/arcanist_extending_lint/) and testing integrations.\n\n## Installation\nTo use `flarc`, you must clone the repository into a location that Arcanist knows how to load it. Arcanist adjusts the PHP include path in `arcanist_adjust_php_include_path` so that libphutil libraries can be loaded from any of the following locations:\n\n  1. A directory adjacent to `arcanist/` itself.\n  2. Anywhere in the normal PHP [`include_path`](https://www.php.net/manual/en/ini.core.php#ini.include-path).\n  3. Inside `arcanist/externals/includes/`.\n\n## Usage\n### general usage\nTo use `flarc` in your project, add `flarc/src` to the `load` path in the project's `.arcconfig`:\n\n```json\n{\n  \"load\": [\"flarc/src\"]\n}\n```\n\n### Usage in CI\n`flarc` is built and used as a docker image in CI.\n\nTo build `flarc` docker image run this [CI job](https://ci.tools.flnltd.com/job/Infrastructure/job/docker-arcanist/) manually. Otherwise, it will be built daily.\n\n`php build base` docker image depends on `flarc` docker image. Trigger this [CI job](https://ci.tools.flnltd.com/job/GAF/job/gaf-php-build-base/) manually after 1st job finishes. Otherwise, it will be built weekly.\n\n## Development\n### Adding/Updating Linters\nFor more information on adding or updating linters, see [lint/README.md](src/lint/README.md).\n\n### Versioning\nTo create a new version of `flarc`:\n- Update `composer.json` to the new version.\n- Run `arc liberate` and `composer update --lock`.\n- Update the `FLARC_VERSION` in `rGaf/support/flarc/src/common/FlarcVersionChecker.php`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreelancer%2Fflarc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreelancer%2Fflarc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreelancer%2Fflarc/lists"}