Repository navigation
End-to-end checks for serving, publishing, content and uploads - #171
Merged
Merged
Conversation
…d and downloaded through the screens A file repository is created, a generated file uploaded and published, and two distributions are made: one protected by a content guard that the user chose, downloaded with credentials from the address the page shows, and one chosen Public, downloaded by plain navigation. The copied curl line holds that address and the credential placeholders only.
… behave as the screens say Publishing moves a ticked pinned distribution and only that one, and the Publications tab names what a delete changes: a repository-bound distribution falls back to the older version exactly as the confirmation says and as the content app answers. Versions list their content and what they added and removed, a served version is protected with its reason, removing three files and adding from another repository each make one version, and a label shows on the same unit in another repository. The administrator's files make one version, a 20 MiB file goes through an upload that is gone afterwards, a refused file leaves the repository alone and a cancelled chunked upload leaves nothing. The editor's files make one version each, a large file is sent in one request, and the server's refusal to delete a served version is shown in the dialog. A python wheel, a deb and an rpm built in the spec are added through the dialog. Content made by a run is removed with it.
…ists and serving fixes The distribution page of every plugin shows its client snippets with a copy button and never an account or its secret, a guarded one shows only the credential placeholders, and the entry points the server names appear on the snippets of a distribution under each. A scratch python distribution takes an upload and lists the package at the addresses its pip and twine lines name. The signature keys screen lists the signing services, downloads a key, filters by the whole name and never asks for a script; the read-only account is told it may not see it. The content lists hold what the server lets each account see with one read per page, old addresses keep their query, and a label is found by its selector. The one-click fixes publish and move a distribution, the lists of a version agree with its summary for file, deb and rpm repositories, and the distribution list stays within its request budget for the read-only account and the editor.
… dialog leaves, and the snippets of a Distributions tab row A version a distribution is bound to and the latest version of a python repository a distribution serves are protected with the distribution named, a publish dialog closed while it waits leaves the ticked distribution on its older publication, and a row of a repository's Distributions tab expands to the same snippets, whose curl line names an address that serves a published file.
…er answers The served-state cell of the distribution list now carries the fix that repairs a warning, so the check accepts the state's text with that fix beside it. The check of a cancelled chunked upload holds back the answer to the request that makes the upload, so the cancel always lands while the page does not yet know the upload's address.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Browser checks that run against a real server, as the administrator, the editor
and the read-only account, for what the screens of serving, publishing, content
and uploads promise.
published, a distribution protected by a content guard the user chose is
made, and the file is downloaded with credentials from the address the page
shows. A second distribution chosen Public is downloaded by plain navigation.
only that one; the Publications tab names what a delete changes; a
repository-bound distribution falls back as the confirmation says and as the
content app answers; the one-click fixes publish and move a distribution; a
publish dialog closed while it waits moves nothing.
deb and rpm repositories; a served version is protected with its reason;
removing files, adding from another repository and a label set on a unit
behave across repositories.
for the editor; a large file goes in parts and leaves no upload behind; a
refused file and a cancelled upload leave the repository alone; a python
wheel, a deb and an rpm built in the checks are added through the dialog.
shows its client snippets without a credential, the entry points the server
names appear on the snippets, the signature keys screen lists, filters and
downloads, and the content lists hold what the server lets each account see
with one read per page.
Everything a run creates carries its own prefix and is removed with the run,
including the content units it uploaded.