Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replacing rochacbruno/ with dynaconf/ #800

Merged
merged 2 commits into from Sep 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Expand Up @@ -81,12 +81,22 @@ jobs:
with:
files: junit/**/*.xml
check_name: Test Results (Python ${{ matrix.python-version }})

- name: "Upload coverage to Codecov"
if: ${{ matrix.python-version == '3.8' }}
uses: codecov/codecov-action@v3
with:
fail_ci_if_error: true

- name: Run codacy-coverage-reporter
if: ${{ matrix.python-version == '3.9' }}
uses: codacy/codacy-coverage-reporter-action@v1
with:
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
# or
# api-token: ${{ secrets.CODACY_API_TOKEN }}
coverage-reports: coverage.xml

unit_tests_mac:
needs: install_test
strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update_contributors.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: minicli/action-contributors@v3
name: "Update a projects CONTRIBUTORS file"
env:
CONTRIB_REPOSITORY: 'rochacbruno/dynaconf'
CONTRIB_REPOSITORY: 'dynaconf/dynaconf'
CONTRIB_OUTPUT_FILE: 'CONTRIBUTORS.md'
- name: Create a PR
uses: peter-evans/create-pull-request@v3
Expand Down
6 changes: 3 additions & 3 deletions 3.x-release-notes.md
Expand Up @@ -3,13 +3,13 @@
In Dynaconf 3.0.0 we introduced some improvements and with
those improvements it comes some **breaking changes.**

Some of the changes were discussed on the **1st Dynaconf community meeting** [video is available](https://www.twitch.tv/videos/657033043) and [meeting notes #354](https://github.com/rochacbruno/dynaconf/issues/354).
Some of the changes were discussed on the **1st Dynaconf community meeting** [video is available](https://www.twitch.tv/videos/657033043) and [meeting notes #354](https://github.com/dynaconf/dynaconf/issues/354).


## Improvements

- Validators now implements `|` and `&` operators to allow `Validator() &| Validator()` and has more `operations` available such as `len_eq, len_min, len_max, startswith` [#353](https://github.com/rochacbruno/dynaconf/pull/353).
- First level variables are now allowed to be `lowercase` it is now possible to access `settings.foo` or `settings.FOO` [#357](https://github.com/rochacbruno/dynaconf/pull/357).
- Validators now implements `|` and `&` operators to allow `Validator() &| Validator()` and has more `operations` available such as `len_eq, len_min, len_max, startswith` [#353](https://github.com/dynaconf/dynaconf/pull/353).
- First level variables are now allowed to be `lowercase` it is now possible to access `settings.foo` or `settings.FOO` [#357](https://github.com/dynaconf/dynaconf/pull/357).
- All Dependencies are now vendored, so when installing Dynaconf is not needed to install any dependency.
- Dynaconf configuration options are now aliased so when creating an instance of `LazySettings|FlaskDynaconf|DjangoDynaconf` it is now possible to pass instead of `ENVVAR_PREFIX_FOR_DYNACONF` just `envvar_prefix` and this lowercase alias is now accepted.
- Fixed bugs in `merge` and deprecated the `@reset` token.
Expand Down
38 changes: 19 additions & 19 deletions CHANGELOG.md
Expand Up @@ -584,7 +584,7 @@ Changelog
In order to keep the same method api, default values should be parsed
and converted to Boxed objects.

https://github.com/rochacbruno/dynaconf/issues/462
https://github.com/dynaconf/dynaconf/issues/462
- HOTFIX for 501 (#540) [Bruno Rocha]

Flask still missing __contains__
Expand Down Expand Up @@ -828,7 +828,7 @@ Other
Update docs/release_notes
Fixing prospector warnings. (#425)
Fix mkdocs config problem found in #423
Signed in for https://xscode.com/rochacbruno/dynaconf (#426)
Signed in for https://xscode.com/dynaconf/dynaconf (#426)
Remove links to outdated issues from guidelines
Fix colors and KEyError handling on cli.py (#429)
Fix #434 setenv failing to unset LazyValues (#437)
Expand Down Expand Up @@ -858,7 +858,7 @@ Other
Update docs/release_notes
Fixing prospector warnings. (#425)
Fix mkdocs config problem found in #423
Signed in for https://xscode.com/rochacbruno/dynaconf (#426)
Signed in for https://xscode.com/dynaconf/dynaconf (#426)
Remove links to outdated issues from guidelines
Fix colors and KEyError handling on cli.py (#429)
Fix #434 setenv failing to unset LazyValues (#437)
Expand Down Expand Up @@ -931,7 +931,7 @@ Other
- [Release notes](https://github.com/facelessuser/mkdocs-material-extensions/releases)
- [Changelog](https://github.com/facelessuser/mkdocs-material-extensions/blob/master/changelog.md)
- [Commits](https://github.com/facelessuser/mkdocs-material-extensions/compare/1.0...1.0.1)
- Signed in for https://xscode.com/rochacbruno/dynaconf (#426) [Bruno
- Signed in for https://xscode.com/dynaconf/dynaconf (#426) [Bruno
Rocha]

Offering paid support for dynaconf users.
Expand Down Expand Up @@ -1171,7 +1171,7 @@ Other
Bruno Rocha (10):
Release version 3.0.0
Hot fix removing unused imports
Merge branch 'master' of github.com:rochacbruno/dynaconf
Merge branch 'master' of github.com:dynaconf/dynaconf
Removing invalid links, adding allert on old docs fix #369 and fix #371 (#372)
Fix #359 lazy template substitution on nested keys (#375)
Flask fizes and other issues included. (#376)
Expand Down Expand Up @@ -1199,7 +1199,7 @@ Other
Bruno Rocha (10):
Release version 3.0.0
Hot fix removing unused imports
Merge branch 'master' of github.com:rochacbruno/dynaconf
Merge branch 'master' of github.com:dynaconf/dynaconf
Removing invalid links, adding allert on old docs fix #369 and fix #371 (#372)
Fix #359 lazy template substitution on nested keys (#375)
Flask fizes and other issues included. (#376)
Expand Down Expand Up @@ -1247,7 +1247,7 @@ Other
Rocha]
- Removing invalid links, adding allert on old docs fix #369 and fix
#371 (#372) [Bruno Rocha]
- Merge branch 'master' of github.com:rochacbruno/dynaconf. [Bruno
- Merge branch 'master' of github.com:dynaconf/dynaconf. [Bruno
Rocha]
- Fix validation of optional fields (#370) [Bruno Rocha
<rochacbruno@users.noreply.github.com> Co-authored-by: Bruno Rocha
Expand Down Expand Up @@ -1313,7 +1313,7 @@ Other
DEPRECATED global settings object.
DEPRECATED global settings object. (#356)
Lowecase read allowed by default (#357)
Merge branch 'master' of github.com:rochacbruno/dynaconf
Merge branch 'master' of github.com:dynaconf/dynaconf
envless by default - breaking change ⚠️ (#358)
dotenv is no more loaded by default (#360)
No more loading of `settings.*` by default (#361)
Expand Down Expand Up @@ -1351,7 +1351,7 @@ Other
* Fix redis and vault tests

* CLI default to global instance with warnings
- Merge branch 'master' of github.com:rochacbruno/dynaconf. [Bruno
- Merge branch 'master' of github.com:dynaconf/dynaconf. [Bruno
Rocha]
- Lowecase read allowed by default (#357) [Bruno Rocha]

Expand Down Expand Up @@ -2220,7 +2220,7 @@ Other

Bruno Rocha (21):
Merge branch 'jperras-merge-multiple-settings-files'
Merge branch 'master' of github.com:rochacbruno/dynaconf
Merge branch 'master' of github.com:dynaconf/dynaconf
Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths
Update dynaconf/utils/boxing.py
Update dynaconf/utils/boxing.py
Expand Down Expand Up @@ -2282,7 +2282,7 @@ Other

Bruno Rocha (21):
Merge branch 'jperras-merge-multiple-settings-files'
Merge branch 'master' of github.com:rochacbruno/dynaconf
Merge branch 'master' of github.com:dynaconf/dynaconf
Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths
Update dynaconf/utils/boxing.py
Update dynaconf/utils/boxing.py
Expand Down Expand Up @@ -2495,7 +2495,7 @@ Other

Bruno Rocha (9):
Merge branch 'jperras-merge-multiple-settings-files'
Merge branch 'master' of github.com:rochacbruno/dynaconf
Merge branch 'master' of github.com:dynaconf/dynaconf
Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths
Update dynaconf/utils/boxing.py
Update dynaconf/utils/boxing.py
Expand Down Expand Up @@ -2542,7 +2542,7 @@ Other

Bruno Rocha (9):
Merge branch 'jperras-merge-multiple-settings-files'
Merge branch 'master' of github.com:rochacbruno/dynaconf
Merge branch 'master' of github.com:dynaconf/dynaconf
Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths
Update dynaconf/utils/boxing.py
Update dynaconf/utils/boxing.py
Expand Down Expand Up @@ -2604,7 +2604,7 @@ Other

Bruno Rocha (6):
Merge branch 'jperras-merge-multiple-settings-files'
Merge branch 'master' of github.com:rochacbruno/dynaconf
Merge branch 'master' of github.com:dynaconf/dynaconf
Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths
Update dynaconf/utils/boxing.py
Update dynaconf/utils/boxing.py
Expand Down Expand Up @@ -2639,7 +2639,7 @@ Other

Bruno Rocha (6):
Merge branch 'jperras-merge-multiple-settings-files'
Merge branch 'master' of github.com:rochacbruno/dynaconf
Merge branch 'master' of github.com:dynaconf/dynaconf
Fix #106 make PROJECT_ROOT_FOR_DYNACONF to work with custom paths
Update dynaconf/utils/boxing.py
Update dynaconf/utils/boxing.py
Expand Down Expand Up @@ -2677,14 +2677,14 @@ Other

Typo!
- Fix small typo in README.md. [Matthias]
- Merge branch 'master' of github.com:rochacbruno/dynaconf. [Bruno
- Merge branch 'master' of github.com:dynaconf/dynaconf. [Bruno
Rocha]
- Python 3.4 has different error message. [Mantas]
- Remove mocker fixture. [Mantas]

Left this accidentaly.

https://travis-ci.org/rochacbruno/dynaconf/jobs/452612532
https://travis-ci.org/dynaconf/dynaconf/jobs/452612532
- Add INSTANCE_FOR_DYNACONF and --instance. [Mantas]

There parameters allows dynaconf to use different LazySettings instance
Expand Down Expand Up @@ -2849,7 +2849,7 @@ Other
Docs have been updated to show an example of the nested validator name
definition in action.

Closes rochacbruno/dynaconf#85.
Closes dynaconf/dynaconf#85.
- Fix #94 setenv cleans SETTINGS_MODULE attribute. [Bruno Rocha]
- Merge branch 'jperras-dot-traversal-access' [Bruno Rocha]
- Merge branch 'dot-traversal-access' of
Expand Down Expand Up @@ -2879,7 +2879,7 @@ Other
- Tested [✓]
- Examples added [✓]

Closes rochacbruno/dynaconf#84
Closes dynaconf/dynaconf#84
- Merge branch 'rsnyman-merge-settings' [Bruno Rocha]
- Add example for merge_configs. [Bruno Rocha]
- Add setting merging. [Raoul Snyman]
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Expand Up @@ -27,7 +27,7 @@ This Diagram can help you understand visually what happens on Dynaconf: https://
git clone git@github.com:{$USER}/dynaconf.git

# Add the upstream remote
git remote add upstream https://github.com/rochacbruno/dynaconf.git
git remote add upstream https://github.com/dynaconf/dynaconf.git

# Activate your Python Environment
python3.7 -m venv venv
Expand Down Expand Up @@ -59,7 +59,7 @@ git commit -am "Changed XPTO to fix #issue_number"
# Push to your own fork
git push -u origin HEAD

# Open github.com/rochacbruno/dynaconf and send a Pull Request.
# Open github.com/dynaconf/dynaconf and send a Pull Request.
```

### Run integration tests
Expand Down
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -4,9 +4,9 @@

> **dynaconf** - Configuration Management for Python.

[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE) [![PyPI](https://img.shields.io/pypi/v/dynaconf.svg)](https://pypi.python.org/pypi/dynaconf) [![PyPI](https://img.shields.io/pypi/pyversions/dynaconf.svg)]() ![PyPI - Downloads](https://img.shields.io/pypi/dm/dynaconf.svg?label=pip%20installs&logo=python) [![CI](https://github.com/rochacbruno/dynaconf/actions/workflows/main.yml/badge.svg)](https://github.com/rochacbruno/dynaconf/actions/workflows/main.yml) [![codecov](https://codecov.io/gh/rochacbruno/dynaconf/branch/master/graph/badge.svg)](https://codecov.io/gh/rochacbruno/dynaconf) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/42d2f11ef0a446808b246c8c69603f6e)](https://www.codacy.com/gh/rochacbruno/dynaconf/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=rochacbruno/dynaconf&amp;utm_campaign=Badge_Grade) ![GitHub stars](https://img.shields.io/github/stars/rochacbruno/dynaconf.svg) ![GitHub Release Date](https://img.shields.io/github/release-date/rochacbruno/dynaconf.svg) ![GitHub commits since latest release](https://img.shields.io/github/commits-since/rochacbruno/dynaconf/latest.svg) ![GitHub last commit](https://img.shields.io/github/last-commit/rochacbruno/dynaconf.svg) [![Code Style Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black/)
[![MIT License](https://img.shields.io/badge/license-MIT-007EC7.svg?style=flat-square)](/LICENSE) [![PyPI](https://img.shields.io/pypi/v/dynaconf.svg)](https://pypi.python.org/pypi/dynaconf) [![PyPI](https://img.shields.io/pypi/pyversions/dynaconf.svg)]() ![PyPI - Downloads](https://img.shields.io/pypi/dm/dynaconf.svg?label=pip%20installs&logo=python) [![CI](https://github.com/dynaconf/dynaconf/actions/workflows/main.yml/badge.svg)](https://github.com/dynaconf/dynaconf/actions/workflows/main.yml) [![codecov](https://codecov.io/gh/dynaconf/dynaconf/branch/master/graph/badge.svg)](https://codecov.io/gh/dynaconf/dynaconf) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/3fb2de98464442f99a7663181803b400)](https://www.codacy.com/gh/dynaconf/dynaconf/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=dynaconf/dynaconf&amp;utm_campaign=Badge_Grade) ![GitHub stars](https://img.shields.io/github/stars/dynaconf/dynaconf.svg) ![GitHub Release Date](https://img.shields.io/github/release-date/dynaconf/dynaconf.svg) ![GitHub commits since latest release](https://img.shields.io/github/commits-since/dynaconf/dynaconf/latest.svg) ![GitHub last commit](https://img.shields.io/github/last-commit/dynaconf/dynaconf.svg) [![Code Style Black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black/)

![GitHub issues](https://img.shields.io/github/issues/rochacbruno/dynaconf.svg) [![User Forum](https://img.shields.io/badge/users-forum-blue.svg?logo=googlechat)](https://github.com/rochacbruno/dynaconf/discussions) [![Join the chat at https://gitter.im/dynaconf/dev](https://badges.gitter.im/dynaconf/dev.svg)](https://gitter.im/dynaconf/dev?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![ Matrix](https://img.shields.io/badge/dev-room-blue.svg?logo=matrix)](https://matrix.to/#/#dynaconf:matrix.org)
![GitHub issues](https://img.shields.io/github/issues/dynaconf/dynaconf.svg) [![User Forum](https://img.shields.io/badge/users-forum-blue.svg?logo=googlechat)](https://github.com/dynaconf/dynaconf/discussions) [![Join the chat at https://gitter.im/dynaconf/dev](https://badges.gitter.im/dynaconf/dev.svg)](https://gitter.im/dynaconf/dev?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![ Matrix](https://img.shields.io/badge/dev-room-blue.svg?logo=matrix)](https://matrix.to/#/#dynaconf:matrix.org)

## Features

Expand Down Expand Up @@ -127,7 +127,7 @@ There is a lot more you can do, **read the docs:** http://dynaconf.com

## Contribute

Main discussions happens on [Discussions Tab](https://github.com/rochacbruno/dynaconf/discussions) learn more about how to get involved on [CONTRIBUTING.md guide](CONTRIBUTING.md)
Main discussions happens on [Discussions Tab](https://github.com/dynaconf/dynaconf/discussions) learn more about how to get involved on [CONTRIBUTING.md guide](CONTRIBUTING.md)

## More

Expand Down
4 changes: 2 additions & 2 deletions docs/advanced.md
Expand Up @@ -167,7 +167,7 @@ def load(
obj._loaded_files.append(sops_file)
```

See more [example/custom_loader](https://github.com/rochacbruno/dynaconf/tree/master/example/custom_loader)
See more [example/custom_loader](https://github.com/dynaconf/dynaconf/tree/master/example/custom_loader)

## Module impersonation

Expand Down Expand Up @@ -413,7 +413,7 @@ Then your `program.py` will print `"On Testing"` red from `[testing]` environmen
For pytest it is common to create fixtures to provide pre-configured settings object or to configure the settings before
all the tests are collected.

Examples available on [https://github.com/rochacbruno/dynaconf/tree/master/example/pytest_example](https://github.com/rochacbruno/dynaconf/tree/master/example/pytest_example)
Examples available on [https://github.com/dynaconf/dynaconf/tree/master/example/pytest_example](https://github.com/dynaconf/dynaconf/tree/master/example/pytest_example)

With `pytest` fixtures it is recommended to use the `FORCE_ENV_FOR_DYNACONF` instead of just `ENV_FOR_DYNACONF` because it has precedence.

Expand Down
2 changes: 1 addition & 1 deletion docs/cli.md
Expand Up @@ -243,5 +243,5 @@ $ dynaconf -i config.settings --banner
██████╔╝ ██║ ██║ ╚████║██║ ██║╚██████╗╚██████╔╝██║ ╚████║██║
╚═════╝ ╚═╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝

Learn more at: http://github.com/rochacbruno/dynaconf
Learn more at: http://github.com/dynaconf/dynaconf
```
4 changes: 2 additions & 2 deletions docs/django.md
Expand Up @@ -32,7 +32,7 @@ $ dynaconf init --django yourapp/settings.py

Dynaconf will append its extension loading code to the bottom of your `yourapp/settings.py` file and will create `settings.toml` and `.secrets.toml` in the current folder (the same where `manage.py` is located).

> **TIP** Take a look at [example/django_example](https://github.com/rochacbruno/dynaconf/tree/master/example/django_example)
> **TIP** Take a look at [example/django_example](https://github.com/dynaconf/dynaconf/tree/master/example/django_example)

## Using `DJANGO_` environment variables

Expand Down Expand Up @@ -241,7 +241,7 @@ import pytest

@pytest.fixture(scope="session", autouse=True)
def set_test_settings():
# https://github.com/rochacbruno/dynaconf/issues/491#issuecomment-745391955
# https://github.com/dynaconf/dynaconf/issues/491#issuecomment-745391955
from django.conf import settings
settings.setenv('testing') # force the environment to be whatever you want
```
Expand Down