Skip to content

Commit

Permalink
Remove placeholders and numbered files and fix images
Browse files Browse the repository at this point in the history
* Add unchanged 'Start Here' from pulpproject.org
* Update 'Start Here' page
* Remove 'docs/sections', which is now provided by pulp-docs
* Remove the 'triage-needed' tmp dirs. We'll handle this later
* Fix images on admin/learn/rbac and user/learn/concepts
* Move settings and tech-preview to Reference
* Revert asset dir rename and rename learn/index
* Use new _SUMMARY.md file for ordering and clean numbered filenames
* Fix some wording
* Fix some wrong rst conversion link

Co-authored-by: Ľuboš Mjachky <[email protected]>

[noissue]
  • Loading branch information
pedro-psb authored and lubosmj committed Jun 24, 2024
1 parent 530a9fb commit bd374a3
Show file tree
Hide file tree
Showing 75 changed files with 92 additions and 221 deletions.
2 changes: 1 addition & 1 deletion docs/diagrams_src/concept-add-repo.dot
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ rectangle "Add content to repository" {
(RV1) -right-> N
N -right-> (RV2)
}
@enduml
@enduml
7 changes: 7 additions & 0 deletions staging_docs/admin/guides/_SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
* Authentication
* [Using Basic Auth](auth/basic.md)
* [Using external service](auth/external.md)
* [Using Keycloak](auth/keycloak.md)
* [Using JSON Header](auth/json_header.md)
* *.md

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 4 additions & 3 deletions staging_docs/admin/learn/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ Pulp's architecture has three components to it: a REST API, a content serving ap
tasking system. Each component can be horizontally scaled for both high availability and/or
additional capacity for that part of the architecture.

```
/static/architecture.png
```
<figure markdown="span">
![Pulp Architecture](site:pulpcore/docs/assets/images/architecture.png)
<!-- <figcaption>Image caption</figcaption> -->
</figure>

## REST API

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
Binary file added staging_docs/assets/images/concept-add-repo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added staging_docs/assets/images/concept-content.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added staging_docs/assets/images/concept-publish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added staging_docs/assets/images/concept-remote.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added staging_docs/assets/images/concept-repository.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ These names correspond with the [default DRF viewset action names](https://www.d
## Authorization Conditions

Each policy statement can contain [drf-access-policy conditions](https://rsinger86.github.io/drf-access-policy/statement_elements/#condition) which is useful for verifying a user has one or
more permissions. Pulp ships many built-in checks. See the `permission_checking_machinery`
more permissions. Pulp ships many built-in checks. See the [permission_checking_machinery](site:pulpcore/docs/dev/learn/rbac/permissions/)
documentation for more information on available checks.

When multiple conditions are present, **all** of them must return True for the request to be
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,28 +11,23 @@ The goals of the authorization system are to:

Pulp's authorization model has the following architecture:

```{image} /static/rbac_architecture.png
:align: center
```
![RBAC Architecture](site:pulpcore/docs/assets/images/rbac_architecture.png)

```{eval-rst}
Task Permissions Check:
: A permission check that occurs inside of Task code. This tends to use
permission checking calls like `has_perm` or `has_perms`
[provided by Django](https://docs.djangoproject.com/en/4.2/ref/contrib/auth/#django.contrib.auth.models.User.has_perm).

:Task Permissions Check: A permission check that occurs inside of Task code. This tends to use
permission checking calls like `has_perm` or `has_perms` `provided by Django <https://
docs.djangoproject.com/en/4.2/ref/contrib/auth/#django.contrib.auth.models.User.has_perm>`_.
Permission Checking Machinery
: A set of methods which can check various conditions such as if a
requesting user has a given permission, or is a member of a group that has a given permission,
etc. See the [permission_checking_machinery](site:pulpcore/docs/dev/learn/rbac/permissions/) section for the complete list of available
methods.

:Permission Checking Machinery: A set of methods which can check various conditions such as if a
requesting user has a given permission, or is a member of a group that has a given permission,
etc. See the :ref:`permission_checking_machinery` section for the complete list of available
methods.
Users and Groups
: Users and Groups live in the Django database and are used by the Permission Checking Machinery.
See the [users_and_groups](site:pulpcore/docs/dev/learn/rbac/users_groups/) documentation for more information.

:Users and Groups: Users and Groups live in the Django database and are used by the Permission
Checking Machinery. See the :ref:`users_and_groups` documentation for more information.
Getting Started
---------------
```

## Getting Started

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions staging_docs/dev/tutorials/_SUMMARY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* [Contributing with docs](quickstart-docs.md)
* [Contributing with code](quickstart.md)
File renamed without changes.
13 changes: 0 additions & 13 deletions staging_docs/sections/admin/index.md

This file was deleted.

12 changes: 0 additions & 12 deletions staging_docs/sections/development/index.md

This file was deleted.

17 changes: 0 additions & 17 deletions staging_docs/sections/help/bugs-features.md

This file was deleted.

4 changes: 0 additions & 4 deletions staging_docs/sections/help/index.md

This file was deleted.

3 changes: 0 additions & 3 deletions staging_docs/sections/reference/01-repository-map.md

This file was deleted.

87 changes: 0 additions & 87 deletions staging_docs/sections/reference/02-glossary.md

This file was deleted.

13 changes: 0 additions & 13 deletions staging_docs/sections/reference/index.md

This file was deleted.

14 changes: 0 additions & 14 deletions staging_docs/sections/usage/index.md

This file was deleted.

39 changes: 22 additions & 17 deletions staging_docs/user/learn/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
This introduction is designed for anyone who is familiar with software management even without prior
knowledge of Pulp.

From a user’s perspective, Pulp is a tool to manage content. In this context, \_Pulp\_ refers to
From a user’s perspective, Pulp is a tool to manage content. In this context, *Pulp* refers to
pulpcore and one or more content plugins.

## What is pulpcore?

Throughout Pulp documentation, when you see references to \_pulpcore\_, this term refers to the main
Throughout Pulp documentation, when you see references to *pulpcore*, this term refers to the main
python program that provides a platform to which you add content plugins for the types of content
that you want to manage. In a very general sense, Pulpcore refers to Pulp and its functionality
without any plugins. Pulpcore provides a REST API and a Plugin API.
Expand All @@ -21,9 +21,10 @@ install the RPM plugin. Files that belong to a content unit are called
`Artifacts`. Each content unit can have zero or many artifacts. Artifacts can be
shared by multiple content units.

```{image} ./_diagrams/concept-content.png
:align: center
```
<figure markdown="span">
![Concept Content](site:pulpcore/docs/assets/images/concept-content.png)
<!-- <figcaption>Image caption</figcaption> -->
</figure>

## Content repositories and versioning

Expand All @@ -33,13 +34,15 @@ in a repository. Each time the content of a repository is changed, a new Reposit
created. Any operation such as sync that does not change the content set, does not produce a new
repository version.

```{image} ./_diagrams/concept-repository.png
:align: center
```
<figure markdown="span">
![Concept Content](site:pulpcore/docs/assets/images/concept-repository.png)
<!-- <figcaption>Image caption</figcaption> -->
</figure>

```{image} ./_diagrams/concept-add-repo.png
:align: center
```
<figure markdown="span">
![Concept Content](site:pulpcore/docs/assets/images/concept-add-repo.png)
<!-- <figcaption>Image caption</figcaption> -->
</figure>

## Pulling content into Pulp with Remotes

Expand All @@ -48,9 +51,10 @@ Through your plugin of choice, you can define actions to interact with those ext
For example, most or all plugins define sync to fetch content units from a remote and add them to a
Pulp repository.

```{image} ./_diagrams/concept-remote.png
:align: center
```
<figure markdown="span">
![Concept Content](site:pulpcore/docs/assets/images/concept-remote.png)
<!-- <figcaption>Image caption</figcaption> -->
</figure>

## Serving content with Pulp

Expand All @@ -64,6 +68,7 @@ To serve content from Pulp, you need to create a publication and a distribution.
unit in the content set. To host a publication, it must be assigned to a `Distribution`, which
determines how and where a publication is served.

```{image} ./_diagrams/concept-publish.png
:align: center
```
<figure markdown="span">
![Concept Content](site:pulpcore/docs/assets/images/concept-publish.png)
<!-- <figcaption>Image caption</figcaption> -->
</figure>
3 changes: 0 additions & 3 deletions staging_docs/user/tutorials/01-overview.md

This file was deleted.

3 changes: 0 additions & 3 deletions staging_docs/user/tutorials/02-setup.md

This file was deleted.

3 changes: 0 additions & 3 deletions staging_docs/user/tutorials/03-installation.md

This file was deleted.

3 changes: 0 additions & 3 deletions staging_docs/user/tutorials/04-configuration.md

This file was deleted.

3 changes: 0 additions & 3 deletions staging_docs/user/tutorials/05-deployment.md

This file was deleted.

3 changes: 0 additions & 3 deletions staging_docs/user/tutorials/06-conclusion.md

This file was deleted.

42 changes: 42 additions & 0 deletions staging_docs/user/tutorials/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Start Here

If you are a new user and are unsure where to begin, this page outlines the different options available, as well as the limitations and requirements for those options.

## Want to evaluate Pulp?

The quickest way to evaluate Pulp is by using Pulp in One Container.
This image contains all the services that you need to run Pulp and is perfect for an initial evaluation.
Mind that this container cannot scale to provide for high availability scenarios.

For installation instructions, see
[Pulp in One Container](site:pulp-oci-images/docs/admin/tutorials/quickstart/).

## Is there a Kubernetes/OpenShift deployment option?

Pulp operator endeavours to provide a scalable and robust cluster for Pulp 3.
Pulp can be installed from [OperatorHub](https://operatorhub.io/operator/pulp-operator).
If you're interested in providing feedback or contributing to making this better, see the
[Pulp operator repo](https://github.com/pulp/pulp-operator) on GitHub.

For more information about using Pulp operator, see
[Pulp on Openshift](site:pulp-operator/docs/admin/tutorials/quickstart-openshift/)

## Is there a podman/docker compose deployment option?

Based on community feedback from the survey and PulpCon 2021, we have reused the Pulp operator images to create a podman compose option for deploying Pulp.
If you're familiar with podman compose, you can customize the configuration to suit your deployment needs and to deploy at scale.

For more information see our
[podman/docker compose intro section](site:pulp-oci-images/docs/admin/tutorials/quickstart/#podman-or-docker-compose).

## Do you need something else?

If you are blocked and don't find an option that you need, please post to our [Pulp Community Discourse](https://discourse.pulpproject.org) and let us know what problem you encountered or what scenario you're missing. Feel free to introduce yourself, what you're trying to achieve, where you ran into problems or didn't understand something. We're always happy to hear how people are using Pulp!

You can also find us on [**pulp** on Matrix](https://matrix.to/#/!HWvLQmBGVPfJfTQBAu:matrix.org) for user support.

!!! note

We plan to write an Introduction Tutorial to teach fundamentals skills and concepts throught a basic Project.
Reach out if you have a good idea of what this didactical Project could look like.

0 comments on commit bd374a3

Please sign in to comment.