Skip to content

Commit

Permalink
chore: add support files.
Browse files Browse the repository at this point in the history
  • Loading branch information
sfermigier committed Jun 17, 2024
1 parent 6de7a7c commit dcdc432
Show file tree
Hide file tree
Showing 9 changed files with 163 additions and 17 deletions.
54 changes: 54 additions & 0 deletions .github/CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Code of Conduct

We expect contributors to our projects and online spaces to follow [the Python Software Foundation’s Code of Conduct](https://www.python.org/psf/conduct/).

The Python community is made up of members from around the globe with a diverse set of skills, personalities, and experiences. It is through these differences that our community experiences great successes and continued growth. When you're working with members of the community, this Code of Conduct will help steer your interactions and keep Python a positive, successful, and growing community.

## Our Community

Members of the Python community are **open, considerate, and respectful**. Behaviours that reinforce these values contribute to a positive environment, and include:

* **Being open.** Members of the community are open to collaboration, whether it's on PEPs, patches, problems, or otherwise.
* **Focusing on what is best for the community.** We're respectful of the processes set forth in the community, and we work within them.
* **Acknowledging time and effort.** We're respectful of the volunteer efforts that permeate the Python community. We're thoughtful when addressing the efforts of others, keeping in mind that often times the labor was completed simply for the good of the community.
* **Being respectful of differing viewpoints and experiences.** We're receptive to constructive comments and criticism, as the experiences and skill sets of other members contribute to the whole of our efforts.
* **Showing empathy towards other community members.** We're attentive in our communications, whether in person or online, and we're tactful when approaching differing views.
* **Being considerate.** Members of the community are considerate of their peers -- other Python users.
* **Being respectful.** We're respectful of others, their positions, their skills, their commitments, and their efforts.
* **Gracefully accepting constructive criticism.** When we disagree, we are courteous in raising our issues.
* **Using welcoming and inclusive language.** We're accepting of all who wish to take part in our activities, fostering an environment where anyone can participate and everyone can make a difference.

## Our Standards

Every member of our community has the right to have their identity respected. The Python community is dedicated to providing a positive experience for everyone, regardless of age, gender identity and expression, sexual orientation, disability, physical appearance, body size, ethnicity, nationality, race, or religion (or lack thereof), education, or socio-economic status.

## Inappropriate Behavior

Examples of unacceptable behavior by participants include:

* Harassment of any participants in any form
* Deliberate intimidation, stalking, or following
* Logging or taking screenshots of online activity for harassment purposes
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Violent threats or language directed against another person
* Incitement of violence or harassment towards any individual, including encouraging a person to commit suicide or to engage in self-harm
* Creating additional online accounts in order to harass another person or circumvent a ban
* Sexual language and imagery in online communities or in any conference venue, including talks
* Insults, put downs, or jokes that are based upon stereotypes, that are exclusionary, or that hold others up for ridicule
* Excessive swearing
* Unwelcome sexual attention or advances
* Unwelcome physical contact, including simulated physical contact (eg, textual descriptions like "hug" or "backrub") without consent or after a request to stop
* Pattern of inappropriate social contact, such as requesting/assuming inappropriate levels of intimacy with others
* Sustained disruption of online community discussions, in-person presentations, or other in-person events
* Continued one-on-one communication after requests to cease
* Other conduct that is inappropriate for a professional audience including people of many different backgrounds

Community members asked to stop any inappropriate behavior are expected to comply immediately.

## Enforcement

We take Code of Conduct violations seriously, and will act to ensure our spaces are welcoming, inclusive, and professional environments to communicate in.

If you need to raise a Code of Conduct report, you may do so privately by email to sf@abilian.com.

Reports will be treated confidentially.
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
* Hop3 Cloud Platform version:
* Python version:
* Operating System:

### Description

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.

### What I Did

```
Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
```
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main, dev, devel]

jobs:
test:
runs-on: ${{ matrix.os }}-latest

strategy:
fail-fast: false
matrix:
# os: [ubuntu, windows, macos]
# os: [ubuntu, macos]
os: [ubuntu]
# python-version: ['3.10', '3.11']
python-version: ['3.10']
action: ["pytest-3.10", "lint"]
sub_repo: ["nua-lib", "nua-agent", "nua-build", "nua-cli", "nua-orchestrator"]

env:
nox_action: ${{ matrix.action }}
nox_sub_repo: ${{ matrix.sub_repo }}

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- run: pip install -U pip setuptools wheel nox poetry
- run: nox -e "${{ matrix.action }}(sub_repo='${{ matrix.sub_repo }}')"
# - run: codecov
- name: Notify slack fail
if: failure()
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
uses: voxmedia/github-action-slack-notify-build@v1
with:
channel_id: C04EACFH8
# channel: code
status: FAILED
color: danger
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ repos:
# - id: requirements-txt-fixer

- repo: https://github.com/pycqa/flake8
rev: '7.0.0' # pick a git hash / tag to point to
rev: '7.1.0' # pick a git hash / tag to point to
hooks:
- id: flake8
16 changes: 13 additions & 3 deletions .reuse/dep5
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,37 @@ Upstream-Name: Hop3
Upstream-Contact: Stefane Fermigier <sf@abilian.com>
Source: https://github.com/abilian/hop3

# Source
# Default
Files: *
Copyright: 2021-2024 Abilian SAS <contact@abilian.com>
License: AGPL-3.0-only
Comment: Directory may also includes code with other licenses and other copyright holders but those are clearly identified in the source code with prefixed comments. Only the not-explicitly licensed portions are licensed with information described here.

# Source code
Files: src/*
Copyright: 2021-2024 Abilian SAS <contact@abilian.com>
License: AGPL-3.0-only
Comment: Directory may also includes code with other licenses and other copyright holders but those are clearly identified in the source code with prefixed comments. Only the not-explicitly licensed portions are licensed with information described here.

Files: etc/*
Copyright: 2021-2024 Abilian SAS <contact@abilian.com>
License: AGPL-3.0-only
Comment: Directory may also includes code with other licenses and other copyright holders but those are clearly identified in the source code with prefixed comments. Only the not-explicitly licensed portions are licensed with information described here.

Files: tests/*
Copyright: 2021-2024 Abilian SAS <contact@abilian.com>
License: AGPL-3.0-only
Comment: Directory may also includes code with other licenses and other copyright holders but those are clearly identified in the source code with prefixed comments. Only the not-explicitly licensed portions are licensed with information described here.

Files: helpers/hop.py
Files: helpers/*
Copyright: 2021-2024 Abilian SAS <contact@abilian.com>
License: AGPL-3.0-only
Comment: Directory may also includes code with other licenses and other copyright holders but those are clearly identified in the source code with prefixed comments. Only the not-explicitly licensed portions are licensed with information described here.

Files: installer/install-hop.py
Files: installer/*
Copyright: 2021-2024 Abilian SAS <contact@abilian.com>
License: AGPL-3.0-only
Comment: Directory may also includes code with other licenses and other copyright holders but those are clearly identified in the source code with prefixed comments. Only the not-explicitly licensed portions are licensed with information described here.

# Doc

Expand Down
1 change: 1 addition & 0 deletions CODE_OF_CONDUCT.md
1 change: 1 addition & 0 deletions LICENSE.txt
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,26 @@ Hop3's technology stack is carefully chosen to support its goals without relying
- **Energy-Efficient Computing**: Adopts strategies and technologies aimed at minimizing energy consumption across all operations.
- **Open Standards and Protocols**: Committed to open standards to ensure interoperability and prevent vendor lock-in.

## License

Hop3 is licensed under the AGPL-3.0 License, except for vendored code.
See the [LICENSE](LICENSE) file for more information.

Here is the REUSE summary as of 2024/06/17:

> * Bad licenses: 0
> * Deprecated licenses: 0
> * Licenses without file extension: 0
> * Missing licenses: 0
> * Unused licenses: 0
> * Used licenses: MIT, AGPL-3.0-only, CC-BY-4.0, BSD-3-Clause, CC0-1.0
> * Read errors: 0
> * files with copyright information: 186 / 186
> * files with license information: 186 / 186
>
> Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-)

## Getting Started

To begin using Hop3, follow these introductory steps:
Expand Down
26 changes: 13 additions & 13 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit dcdc432

Please sign in to comment.