Skip to content

Commit 7070478

Browse files
committed
docs: Update the documentation
1 parent 3bedbd8 commit 7070478

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
All pull request authors must have a Contributor License Agreement (CLA) on-file with us. Please sign the Contributor License Agreements for Cloud Foundry ([Individual or Corporate](https://www.cloudfoundry.org/community/cla/)) via the EasyCLA application when you submit your first Pull Request.
66

7-
When sending signed CLA please provide your github username in case of individual CLA or the list of github usernames that can make pull requests on behalf of your organization.
7+
When sending signed CLA please provide your Github username in case of individual CLA or the list of Github usernames that can make pull requests on behalf of your organization.
88

99
If you are confident that you're covered under a Corporate CLA, please make sure you've publicized your membership in the appropriate Github Org, per these instructions.
1010

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,20 @@ This buildpack supports running Django and Flask apps.
1010

1111
Official buildpack documentation can be found at [python buildpack docs](http://docs.cloudfoundry.org/buildpacks/python/index.html).
1212

13+
## Adding new dependencies
14+
15+
If you want to add a new dependency to the buildpack, please add it to the [config.yml](https://github.com/ZPascal/buildpacks-ci/blob/81d4f7942a9e4f01196ab654b6a5f89681015d41/pipelines/dependency-builds/config.yml#L272) file. For example, if you want to add a new version of Python, add an entry like the following:
16+
17+
```yaml
18+
python:
19+
lines:
20+
- line: 3.14.X
21+
deprecation_date: 2030-10-07
22+
link: https://peps.python.org/pep-0745/
23+
```
24+
25+
The new dependency will be automatically added to the buildpack [manifest.yml](manifest.yml) file.
26+
1327
### Building the Buildpack
1428
1529
To build this buildpack, run the following commands from the buildpack's directory:
@@ -24,9 +38,7 @@ To build this buildpack, run the following commands from the buildpack's directo
2438
1. Install buildpack-packager
2539

2640
```bash
27-
go get github.com/cloudfoundry/libbuildpack
28-
cd ~/go/src/github.com/cloudfoundry/libbuildpack && GO111MODULE=on go mod download
29-
cd packager/buildpack-packager && GO111MODULE=on go install
41+
go install github.com/cloudfoundry/libbuildpack/packager/buildpack-packager@latest
3042
```
3143

3244
1. Build the buildpack

0 commit comments

Comments
 (0)