Skip to content

Commit d38f23a

Browse files
authored
Merge pull request #201 from PalNilsson/next
3.13.0.23
2 parents 873e170 + cbd37e3 commit d38f23a

303 files changed

Lines changed: 14863 additions & 9679 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-docs.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,38 @@
11
name: build-docs-workflow
22
on:
33
push:
4-
branches:
4+
branches:
55
- master
6+
pull_request:
7+
branches:
8+
- master
9+
- next
610
workflow_dispatch:
711
jobs:
812
build-docs:
913
name: "Build Sphinx docs"
1014
runs-on: ubuntu-latest
11-
strategy:
12-
matrix:
13-
python-version: ['3.7']
1415
steps:
1516
- name: Checkout Pilot 3 repo
16-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4.2.2
1718

1819
- name: Setup Python
19-
uses: actions/setup-python@v4
20+
uses: actions/setup-python@v5.6.0
2021
with:
21-
python-version: ${{ matrix.python-version }}
22+
python-version: '3.12'
2223
architecture: x64
2324

2425
- name: Pip install
25-
run: pip install sphinx
26+
run: pip install sphinx furo
2627

2728
- name: Check sphinx version
2829
run: python -c "import sphinx;print(sphinx.__version__)"
2930

31+
- name: Build docs locally to catch errors
32+
run: cd doc && make html
33+
3034
- name: Trigger panda-docs webhook
35+
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
3136
env:
3237
READDOCS_TOKEN: ${{ secrets.READDOCS_TOKEN }}
3338
READDOCS_HOOK: ${{ secrets.READDOCS_HOOK }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ build
1212
.idea*
1313
rucio_upload.json
1414
tools
15+
doc/_build/

.readthedocs.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# .readthedocs.yaml
2+
version: 2
3+
4+
build:
5+
os: ubuntu-24.04
6+
tools:
7+
python: "3.12"
8+
9+
sphinx:
10+
configuration: doc/conf.py
11+
12+
python:
13+
install:
14+
- requirements: doc/requirements.txt

DIRECTORY_STRUCTURE.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Directory Structure
2+
3+
This document outlines the directory structure of the project.
4+
5+
- **`.github/`**: Contains GitHub Actions workflow files for Continuous Integration and Continuous Deployment (CI/CD).
6+
- **`doc/`**: Contains documentation files for the project, likely using Sphinx.
7+
- **`pilot/`**: The main source code directory for the project.
8+
- **`api/`**: Contains files related to the project's API.
9+
- **`common/`**: Contains common utility functions and classes used across the project.
10+
- **`control/`**: Houses the control logic of the application.
11+
- **`copytool/`**: Includes various tools and modules for file copying operations.
12+
- **`eventservice/`**: Contains files and modules related to the event service.
13+
- **`info/`**: Manages information services and data handling.
14+
- **`resource/`**: Contains modules for resource management.
15+
- **`scripts/`**: Includes various scripts for different tasks.
16+
- **`test/`**: Contains test files for the project.
17+
- **`user/`**: Contains user-specific configurations and files.
18+
- **`util/`**: A directory for various utility functions and modules.
19+
- **`workflow/`**: Manages workflows and related tasks.
20+
- **`LICENSE`**: The license file for the project.
21+
- **`README.md`**: The main README file for the project.
22+
- **`requirements.txt`**: A list of Python packages required to run the project.
23+
- **`setup.py`**: The setup script for the project.

PILOTVERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.12.4.1
1+
3.13.0.23

doc/Makefile

Lines changed: 10 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,16 @@
1-
# Minimal makefile for Sphinx documentation
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License");
4-
# you may not use this file except in compliance with the License.
5-
# You may obtain a copy of the License at
6-
# http://www.apache.org/licenses/LICENSE-2.0
7-
#
8-
# Authors:
9-
# - Daniel Drizhuk, d.drizhuk@gmail.com, 2017
1+
SPHINXOPTS ?=
2+
SPHINXBUILD ?= sphinx-build
3+
SOURCEDIR = .
4+
BUILDDIR = _build
105

11-
# You can set these variables from the command line.
12-
SPHINXOPTS =
13-
SPHINXBUILD = sphinx-build
14-
SPHINXPROJ = Pilot2
15-
SOURCEDIR = .
16-
BUILDDIR = _build
6+
.PHONY: help html clean
177

18-
# Put it first so that "make" without argument is like "make help".
198
help:
209
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2110

22-
.PHONY: help Makefile
11+
html:
12+
@$(SPHINXBUILD) -b html "$(SOURCEDIR)" "$(BUILDDIR)/html" $(SPHINXOPTS) $(O)
13+
@echo "Build finished. Open _build/html/index.html in a browser."
2314

24-
# Catch-all target: route all unknown targets to Sphinx using the new
25-
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
26-
%: Makefile
27-
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
15+
clean:
16+
rm -rf $(BUILDDIR)

doc/api/api.rst

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
pilot.api
2+
=========
3+
4+
analytics
5+
---------
6+
7+
.. automodule:: pilot.api.analytics
8+
:members:
9+
:undoc-members:
10+
:show-inheritance:
11+
12+
data
13+
----
14+
15+
.. automodule:: pilot.api.data
16+
:members:
17+
:undoc-members:
18+
:show-inheritance:
19+
20+
es_data
21+
-------
22+
23+
.. automodule:: pilot.api.es_data
24+
:members:
25+
:undoc-members:
26+
:show-inheritance:
27+
28+
memorymonitor
29+
-------------
30+
31+
.. automodule:: pilot.api.memorymonitor
32+
:members:
33+
:undoc-members:
34+
:show-inheritance:
35+
36+
services
37+
--------
38+
39+
.. automodule:: pilot.api.services
40+
:members:
41+
:undoc-members:
42+
:show-inheritance:

doc/api/common.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
pilot.common
2+
============
3+
4+
errorcodes
5+
----------
6+
7+
.. automodule:: pilot.common.errorcodes
8+
:members:
9+
:undoc-members:
10+
:show-inheritance:
11+
12+
exception
13+
---------
14+
15+
.. automodule:: pilot.common.exception
16+
:members:
17+
:undoc-members:
18+
:show-inheritance:
19+
20+
pilotcache
21+
----------
22+
23+
.. automodule:: pilot.common.pilotcache
24+
:members:
25+
:undoc-members:
26+
:show-inheritance:
27+
28+
pluginfactory
29+
-------------
30+
31+
.. automodule:: pilot.common.pluginfactory
32+
:members:
33+
:undoc-members:
34+
:show-inheritance:

doc/api/control.rst

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
pilot.control
2+
=============
3+
4+
.. toctree::
5+
:maxdepth: 1
6+
:caption: Subpackages
7+
8+
control/payloads
9+
10+
data
11+
----
12+
13+
.. automodule:: pilot.control.data
14+
:members:
15+
:undoc-members:
16+
:show-inheritance:
17+
18+
interceptor
19+
-----------
20+
21+
.. automodule:: pilot.control.interceptor
22+
:members:
23+
:undoc-members:
24+
:show-inheritance:
25+
26+
job
27+
---
28+
29+
.. automodule:: pilot.control.job
30+
:members:
31+
:undoc-members:
32+
:show-inheritance:
33+
34+
monitor
35+
-------
36+
37+
.. automodule:: pilot.control.monitor
38+
:members:
39+
:undoc-members:
40+
:show-inheritance:
41+
42+
payload
43+
-------
44+
45+
.. automodule:: pilot.control.payload
46+
:members:
47+
:undoc-members:
48+
:show-inheritance:

doc/api/control/payloads.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
pilot.control.payloads
2+
======================
3+
4+
eventservice
5+
------------
6+
7+
.. automodule:: pilot.control.payloads.eventservice
8+
:members:
9+
:undoc-members:
10+
:show-inheritance:
11+
12+
eventservicemerge
13+
-----------------
14+
15+
.. automodule:: pilot.control.payloads.eventservicemerge
16+
:members:
17+
:undoc-members:
18+
:show-inheritance:
19+
20+
generic
21+
-------
22+
23+
.. automodule:: pilot.control.payloads.generic
24+
:members:
25+
:undoc-members:
26+
:show-inheritance:
27+
28+
kubernetesx
29+
-----------
30+
31+
.. automodule:: pilot.control.payloads.kubernetesx
32+
:members:
33+
:undoc-members:
34+
:show-inheritance:

0 commit comments

Comments
 (0)