Skip to content

Commit 5f7f5d7

Browse files
committed
Improve documentation
1 parent ab186d1 commit 5f7f5d7

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

docs/user/guides/attestation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ API. The attestations can then be verified using tools like `sigstore` or `pypi-
8787
```bash
8888
http $PULP_API/pypi/foo/simple/twine/ "Accept:application/vnd.pypi.simple.v1+json" | jq -r ".files[].provenance"
8989

90-
http $PULP_API/pypi/foo/integrity/twine/6.2.0/twine-6.2.0.tar.gz/
90+
http $PULP_API/pypi/foo/integrity/twine/6.2.0/twine-6.2.0.tar.gz/provenance/
9191
```

docs/user/guides/sync.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ pulp python remote create \
135135
]' \
136136
--excludes '[
137137
"django~=1.0",
138-
"scipy"
138+
"scipy==1.1.0"
139139
]'
140140
```
141141

docs/user/guides/upload.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Each artifact in Pulp represents a file. They can be created during sync or crea
4444
PKG="shelf-reader-0.1.tar.gz"
4545

4646
# Upload it to Pulp
47-
pulp python content upload --relative-path "$PKG" --file "$PKG"
47+
pulp python content create --relative-path "$PKG" --file "$PKG"
4848
```
4949

5050
=== "Output"
@@ -90,7 +90,7 @@ Each artifact in Pulp represents a file. They can be created during sync or crea
9090
## Add content to a repository
9191

9292
Once there is a content unit, it can be added to a repository using the `add` command.
93-
This command requires both the `filename` and `sha256` to ensure that a specific file can be identified,
93+
This command requires the `sha256` to ensure that a specific file can be identified,
9494
as Pulp may contain different content units with the same name.
9595

9696
=== "Run"
@@ -100,7 +100,7 @@ as Pulp may contain different content units with the same name.
100100
SHA256="04cfd8bb4f843e35d51bfdef2035109bdea831b55a57c3e6a154d14be116398c"
101101

102102
# Add the created PythonPackage content to the repository
103-
pulp python repository content add --repository foo --filename "$PKG" --sha256 "$SHA256"
103+
pulp python repository content add --repository foo --sha256 "$SHA256"
104104

105105
# After the task is complete, it gives us a new repository version
106106
pulp python repository version show --repository foo
@@ -144,7 +144,7 @@ This command requires the same options as the `add` command.
144144

145145
```bash
146146
# Remove the PythonPackage content from the repository
147-
pulp python repository content remove --repository foo --filename "$PKG" --sha256 "$SHA256"
147+
pulp python repository content remove --repository foo --sha256 "$SHA256"
148148

149149
# After the task is complete, it gives us a new repository version
150150
pulp python repository version show --repository foo

0 commit comments

Comments
 (0)