Skip to content

Commit a7d75fe

Browse files
Merge pull request #157 from OP-TED/develop
Update of main branch after release
2 parents aba8760 + a5001d6 commit a7d75fe

File tree

18,396 files changed

+6273813
-0
lines changed

Some content is hidden

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

18,396 files changed

+6273813
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
name: Build
2+
on:
3+
push:
4+
branches: [ master, main, develop ]
5+
env:
6+
SITE_DIR: 'site'
7+
jobs:
8+
build_site:
9+
name: "Build site with Antora"
10+
runs-on: [ ubuntu-latest ]
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
- name: "Install Node 16"
15+
uses: actions/setup-node@v3
16+
with:
17+
node-version: 16
18+
- name: "Install Antora"
19+
run: make install-antora
20+
- name: "Generate site using antora site action"
21+
run: make build-site
22+
- name: "Upload generated site"
23+
uses: actions/upload-artifact@v4
24+
with:
25+
name: site
26+
path: "${{ github.workspace }}/build/${{ env.SITE_DIR }}"
27+
28+
deploy_site:
29+
runs-on: [ ubuntu-latest ]
30+
needs: [ build_site ]
31+
name: "Deploy GitHub Pages"
32+
env:
33+
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
34+
steps:
35+
- name: "Install Node 16"
36+
uses: actions/setup-node@v3
37+
with:
38+
node-version: 16
39+
- name: Checkout
40+
uses: actions/checkout@v4
41+
- name: Download generated site
42+
uses: actions/download-artifact@v4
43+
with:
44+
name: site
45+
path: "${{ github.workspace }}/${{ env.SITE_DIR }}"
46+
- name: Deploy to GitHub Pages
47+
uses: JamesIves/github-pages-deploy-action@v4.4.0
48+
with:
49+
# ACCESS_TOKEN: # optional
50+
GITHUB_TOKEN: "${{ github.token}}"
51+
FOLDER: "${{ env.SITE_DIR }}"
52+
BRANCH: 'gh-pages'
53+
COMMIT_MESSAGE: "[CI] Publish Documentation for ${{ github.sha }}"

.gitignore

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
pip-wheel-metadata/
24+
share/python-wheels/
25+
*.egg-info/
26+
.installed.cfg
27+
*.egg
28+
MANIFEST
29+
30+
# PyInstaller
31+
# Usually these files are written by a python script from a template
32+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
33+
*.manifest
34+
*.spec
35+
36+
# Installer logs
37+
pip-log.txt
38+
pip-delete-this-directory.txt
39+
40+
# Unit test / coverage reports
41+
htmlcov/
42+
.tox/
43+
.nox/
44+
.coverage
45+
.coverage.*
46+
.cache
47+
nosetests.xml
48+
coverage.xml
49+
*.cover
50+
*.py,cover
51+
.hypothesis/
52+
.pytest_cache/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
target/
76+
77+
# Jupyter Notebook
78+
.ipynb_checkpoints
79+
80+
# IPython
81+
profile_default/
82+
ipython_config.py
83+
84+
# pyenv
85+
.python-version
86+
87+
# pipenv
88+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
90+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
91+
# install all needed dependencies.
92+
#Pipfile.lock
93+
94+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
95+
__pypackages__/
96+
97+
# Celery stuff
98+
celerybeat-schedule
99+
celerybeat.pid
100+
101+
# SageMath parsed files
102+
*.sage.py
103+
104+
# Environments
105+
.env
106+
.venv
107+
env/
108+
venv/
109+
ENV/
110+
env.bak/
111+
venv.bak/
112+
113+
# Spyder project settings
114+
.spyderproject
115+
.spyproject
116+
117+
# Rope project settings
118+
.ropeproject
119+
120+
# mkdocs documentation
121+
/site
122+
123+
# mypy
124+
.mypy_cache/
125+
.dmypy.json
126+
dmypy.json
127+
128+
# Pyre type checker
129+
.pyre/
130+
131+
# IDEs
132+
.idea
133+
.vscode/
134+
135+
# misc
136+
.DS_Store
137+
.~*
138+
*.xpr
139+
extensions.json
140+
141+
# project-specific
142+
.saxon/
143+
.rmlmapper/
144+
/mappings/*/data/
145+
146+
jena/
147+
jena.zip
148+
dist/
149+
tmp/
150+
owlcli
151+
owl-cli.jar
152+
owl-cli-snapshot.jar
153+
mappings-1*
154+
ref/
155+
156+
analysis_scripts/
157+
*.mk
158+
requirements.txt
159+
test_queries/
160+
test_scripts/
161+
src/scripts
162+
src/README.md
163+
covered_xpaths.txt
164+
uncovered_xpaths.txt
165+
xpaths_to_cover.txt

CODE_OF_CONDUCT.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Code of Conduct
2+
3+
## Introduction
4+
5+
This code of conduct applies to all spaces the TED unit of the Publications Office (OP) manages, including IRC, public and private mailing lists, issue trackers, wikis, blogs, Twitter, LinkedIn, and any other communication channels our communities use.
6+
7+
We expect everyone who participates in the community formally or informally, or claims any affiliation with the OP, in any OP-related activities and especially when representing the OP in any role to honor this code of conduct.
8+
9+
This code is not exhaustive or complete. It distills our common understanding of a collaborative, shared environment and goals. We expect all members of the community to follow it in spirit as much as in the letter, so that it can enrich all of us, and the technical communities in which we participate.
10+
11+
## Specific guidelines
12+
13+
We strive to:
14+
15+
**Be open.** We invite anyone to participate in our community. We prefer to use public methods of communication for project-related messages, unless discussing something sensitive. This applies to messages for help or project-related support, too; not only is a public support request much more likely to result in an answer to a question, it also makes sure that any the community notices and corrects any inadvertent mistakes people answering the query may make.
16+
17+
**Be empathetic**, welcoming, friendly, and patient. We work together to resolve conflicts, assume good intentions, and do our best to act in an empathetic fashion. We may all experience some frustration from time to time, but we do not allow frustration to result in a personal attack. A community where people feel uncomfortable or threatened is not a productive one. We should be respectful when dealing with other community members as well as with people outside our community.
18+
19+
**Be collaborative.** Other people will use our work, and we in turn depend on the work of others. When we make something for the benefit of the project, we are willing to explain to others how it works, so they can build on the work to make it even better. Any decision we make will affect users and colleagues, and we take those consequences seriously when making decisions.
20+
21+
**Be inquisitive.** Nobody knows everything! Asking questions early avoids many problems later, so we encourage questions, although we may redirect them to the appropriate forum. Those who receive a question should be responsive and helpful, within the context of our shared goal of improving OP projects and initiatives.
22+
23+
**Be careful in the words that we choose.** Whether we are participating as professionals or volunteers, we value professionalism in all interactions, and take responsibility for our own speech. Be kind to others. Do not insult or put down other participants. Harassment and other exclusionary behaviour are not acceptable. This includes, but is not limited to:
24+
25+
* Violent threats or language directed against another person.
26+
* Sexist, racist, or otherwise discriminatory jokes and language.
27+
* Posting sexually explicit or violent material.
28+
* Posting (or threatening to post) other people's personally identifying information ("doxing").
29+
* Sharing private content, such as emails sent privately or non-publicly, or from unlogged forums such as IRC channel history.
30+
* Personal insults, especially those using racist or sexist terms.
31+
* Unwelcome sexual attention.
32+
* Excessive or unnecessary profanity.
33+
* Repeated harassment of others. In general, if someone asks you to stop, then stop.
34+
* Advocating for, or encouraging, any of the above behaviour.
35+
36+
**Be concise.** Keep in mind that, over time, hundreds or thousands of people will read what you write. Writing a short email means people can understand the conversation as efficiently as possible. Short emails should always strive to be empathetic, welcoming, friendly and patient. When a long explanation is necessary, consider adding a summary at the top of the message.
37+
38+
Try to bring new ideas to a conversation so that each email adds something unique to the thread, keeping in mind that the rest of the thread still contains the other messages with arguments that have already been made.
39+
40+
Try to stay on topic, especially in discussions that are already fairly long.
41+
42+
**Step down considerately.** Members of every project come and go. When somebody leaves or disengages from the project they should tell people they are leaving and take the proper steps to ensure that others can pick up where they left off. In doing so, they should remain respectful of those who continue to participate in the project and should not misrepresent the project's goals or achievements. Likewise, community members should respect any individual's choice to leave the project.
43+
44+
45+
## Notes
46+
This Code defines **empathy** as "_a vicarious participation in the emotions, ideas, or opinions of others; the ability to imagine oneself in the condition or predicament of another._" **Empathetic** is the adjectival form of empathy.
47+
48+
This statement draws on the following for content and inspiration:
49+
50+
* [Apache Foundation Code of Counduct](https://www.apache.org/foundation/policies/conduct.html)
51+
* [Django Code of Conduct](https://www.djangoproject.com/conduct/)

CONTRIBUTING.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Contributing Guidelines
2+
3+
As a newcomer on a project, it's easy to experience frustration. Here's some advice to make your work on this project more useful and rewarding.
4+
5+
**Pick a subject area that you care about, that you are familiar with, or that you want to learn about**
6+
7+
You don't already have to be an expert on the area you want to work on; you become an expert through your ongoing contributions to the code.
8+
9+
**Analyze tickets' context and history**
10+
11+
Trac isn't an absolute; the context is just as important as the words. When reading Trac, you need to take into account who says things, and when they were said. Support for an idea two years ago doesn't necessarily mean that the idea will still have support. You also need to pay attention to who hasn't spoken – for example, if an experienced contributor hasn't been recently involved in a discussion, then a ticket may not have the support required to get into this project.
12+
13+
**Start small**
14+
15+
It's easier to get feedback on a little issue than on a big one. See the easy pickings.
16+
17+
**If you're going to engage in a big task, make sure that your idea has support first**
18+
19+
This means getting someone else to confirm that a bug is real before you fix the issue, and ensuring that there's consensus on a proposed feature before you go implementing it.
20+
21+
**Be bold! Leave feedback!**
22+
23+
Sometimes it can be scary to put your opinion out to the world and say “this ticket is correct” or “this patch needs work”, but it's the only way the project moves forward. The contributions of the broad community ultimately have a much greater impact than that of any one person. We can't do it without you!
24+
25+
**Err on the side of caution when marking things Ready For Check-in**
26+
27+
If you're really not certain if a ticket is ready, don't mark it as such. Leave a comment instead, letting others know your thoughts. If you're mostly certain, but not completely certain, you might also try asking on IRC to see if someone else can confirm your suspicions.
28+
29+
**Wait for feedback, and respond to feedback that you receive**
30+
31+
Focus on one or two tickets, see them through from start to finish, and repeat. The shotgun approach of taking on lots of tickets and letting some fall by the wayside ends up doing more harm than good.
32+
33+
**Be patient**
34+
35+
It's not always easy for your ticket or your patch to be reviewed quickly. This isn't personal. There may be a lot of tickets and pull requests to get through.
36+
37+
## Notes
38+
This statement draws on the following for content and inspiration:
39+
40+
* [Django Contributing Guidelines](https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/#guidelines)
41+

0 commit comments

Comments
 (0)