Jose Diaz-Gonzalez
08596c9648
fix: skip app.json buildpacks for image-based deploys
...
When deploying via git:from-image, the source image may contain an
app.json with buildpacks entries that are not relevant. Check for
the source-image property and skip app.json buildpacks when set.
2026-04-18 20:29:05 -04:00
Jose Diaz-Gonzalez
44dbbe6a34
fix: return buildpacks specified by the buildpacks plugin
2026-04-18 04:15:53 -04:00
Jose Diaz-Gonzalez
5a787af3ae
feat: add support for specifying buildpacks via app.json
...
The order of detection is:
- buildpacks:set
- app.json
- .buildpacks
- auto-detected from codebase
Closes #7102
2026-04-18 04:15:51 -04:00
Tasos Maschalidis
65e0fb9037
Detect buildpacks for specific branch (fall back to deploy-branch to be consistent with deployment behavior)
2025-10-16 18:33:47 +03:00
Tasos Maschalidis
66894bc0c5
Remove redundant function isBareGitRepo
2025-10-16 17:27:37 +03:00
Tasos Maschalidis
929b8444e4
Add helper functions isBareGitRepo and checkoutBareGitRepo
2025-10-16 17:27:37 +03:00
Jose Diaz-Gonzalez
9cb54950fc
fix: correct issue where removing by index failed due to incorrect input validation
...
Closes #6657
2024-03-13 06:53:05 -04:00
Jose Diaz-Gonzalez
fb73474675
refactor: allow setting a custom mode when writing a slice to a file
2024-01-18 19:11:53 -05:00
Jose Diaz-Gonzalez
6787b82ec0
fix: reformat existing buildpacks files
...
Previously, the shorthand was not properly supported. While this _should_ be the domain of the gliderlabs/herokuish repository, we do it here as a courtesy to Dokku users.
Additionally, support the heroku-community => heroku mapping.
Closes #4452
2021-03-22 16:46:18 -04:00
Jose Diaz-Gonzalez
6636c48838
feat: simplify flag parsing in buildpacks plugin
...
Commands should be written such that they take arguments as is.
2020-05-29 01:59:50 -04:00
Jose Diaz-Gonzalez
bd47c76d26
refactor: move private buildpacks function to functions.go
2020-03-10 14:12:24 -04:00