{"id":21179566,"url":"https://github.com/klahap/fraploy","last_synced_at":"2025-12-29T20:43:29.333Z","repository":{"id":253069153,"uuid":"842365866","full_name":"klahap/fraploy","owner":"klahap","description":"A Gradle plugin to deploy Frappe app updates to Frappe Cloud.","archived":false,"fork":false,"pushed_at":"2024-08-15T09:13:04.000Z","size":71,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T12:07:42.740Z","etag":null,"topics":["deployment","frappe-cloud","gradle-plugin","kotlin"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","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/klahap.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":"2024-08-14T07:50:18.000Z","updated_at":"2024-08-15T12:40:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"426922fb-3454-43ec-b930-6593e1a09e6e","html_url":"https://github.com/klahap/fraploy","commit_stats":null,"previous_names":["klahap/fraploy"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klahap%2Ffraploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klahap%2Ffraploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klahap%2Ffraploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klahap%2Ffraploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klahap","download_url":"https://codeload.github.com/klahap/fraploy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243630367,"owners_count":20322284,"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":["deployment","frappe-cloud","gradle-plugin","kotlin"],"created_at":"2024-11-20T17:32:20.607Z","updated_at":"2025-12-29T20:43:24.313Z","avatar_url":"https://github.com/klahap.png","language":"Kotlin","readme":"# Fraploy - Frappe App Deployer\n\nFraploy is a Gradle plugin designed to streamline the deployment of Frappe app updates to Frappe Cloud. With easy\nconfiguration and seamless integration into your build pipeline, you can automate the deployment process, reducing\nmanual steps and potential errors.\n\n## Features\n\n- Deploy updates to Frappe apps on Frappe Cloud.\n- Configurable via Gradle Kotlin DSL.\n- Supports credentials management through environment variables.\n- Blocking mode with configurable polling delay.\n\n## Installation\n\nAdd the `fraploy` plugin to your `build.gradle.kts`:\n\n```kotlin\nplugins {\n    id(\"io.github.klahap.fraploy\") version \"$VERSION\"\n}\n```\n\n## Usage\n\nTo configure the plugin, add the following configuration block to your `build.gradle.kts`:\n\n```kotlin\nfraploy {\n    credentials {\n        token = System.getenv(\"FRAPPE_CLOUD_TOKEN\")\n        team = System.getenv(\"FRAPPE_CLOUD_TEAM\")\n    }\n    source {\n        releaseGroupTitle = System.getenv(\"FRAPPE_CLOUD_RELEASE_GROUP_TITLE\")\n        addAppUpdate(appName = \"frappe\", version = \"v15.37.0\")\n        addAppUpdate(appName = \"erpnext\", version = \"v15.32.1\")\n    }\n    blocking {\n        enable = true\n        pollDelay = 5.seconds\n    }\n}\n```\n\n- **credentials**\n    - `token`: Your Frappe Cloud API token.\n    - `team`: Your Frappe Cloud team name.\n\n- **source**\n    - `releaseGroupTitle`: The title for the release group in Frappe Cloud.\n    - `addAppUpdate(appName, version)`: Add an app update to the release. Specify the `appName` and the `version`.\n\n- **blocking**\n    - `enable`: Enables or disables blocking mode (default is `false).\n    - `pollDelay`: The delay between polls to check the deployment status. Default is 5 seconds.\n\n### Running the Deployment\n\nAfter configuring the plugin, you can deploy your Frappe app updates with the following command:\n\n```bash\ngradle fraployDeploy\n```\n\nThis command will trigger the deployment process, and the plugin will handle the rest.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklahap%2Ffraploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklahap%2Ffraploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklahap%2Ffraploy/lists"}