]> Cypherpunks.ru repositories - gocheese.git/blobdiff - doc/upload.texi
Metadata, mtime support. Massive refactoring
[gocheese.git] / doc / upload.texi
diff --git a/doc/upload.texi b/doc/upload.texi
new file mode 100644 (file)
index 0000000..75b9848
--- /dev/null
@@ -0,0 +1,24 @@
+@node Uploading
+@section Uploading
+
+Ordinary @url{https://pypi.org/project/twine/, twine} can be easily used:
+
+@example
+$ twine upload
+    --repository-url http://gocheese.host:8080/simple/ \
+    --username spam --password foo dist/tarball.tar.gz
+@end example
+
+Also you can permanently configure it:
+
+@example
+[pypi]
+repository: https://gocheese.host/simple/
+username: spam
+password: foo
+@end example
+
+All metadata information sent by @command{twine} is stored on the disk.
+Package creation time will be server's current time. If @command{twine}
+send package checksums, then they are checked against. GPG signature
+file is also saved.