Observed since 20 Oct, 17:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
aa-wanderer-map
AA wanderer
An Alliance Auth plugin that integrates your Alliance Auth installation with Wanderer wormhole mapping service, providing automated access control list (ACL) management.
This is a maintained fork of the original aa-wanderer by T'rahk Rokym, featuring bug fixes, improvements, and ongoing maintenance.
v0.1.6 - Enhanced ACL management to allow usage of existing ACL, and control of admin/manager
v0.1.5 - Fixed migration errors and improved database table initialization handling
aa-wanderer-map creates and manages a dedicated access list on your Wanderer map, separate from any manually configured access lists. This managed ACL is automatically synchronized with your Alliance Auth permissions.
Notes:
Ensure you are in the virtual environment of your Alliance Auth installation, then install the latest release from PyPI:
pip install aa-wanderer-map
Add the following configuration to your Alliance Auth settings file (local.py):
'wanderer' to INSTALLED_APPS:INSTALLED_APPS += [
'wanderer',
]
CELERYBEAT_SCHEDULE['wanderer_cleanup_access_lists'] = {
'task': 'wanderer.tasks.cleanup_all_access_lists',
'schedule': crontab(minute='0', hour='*/1'),
}
Run migrations and collect static files:
python manage.py migrate
python manage.py collectstatic --noinput
Restart your Alliance Auth supervisor services:
supervisorctl restart myauth:
The following Django management commands are available:
| Command | Description |
|---|---|
wanderer_cleanup_acls | Manually executes the cleanup task on all managed maps and updates their access lists. |
Sync all maps:
python manage.py wanderer_cleanup_acls
Sync a specific map:
python manage.py wanderer_cleanup_acls --map-id 5
The command queues Celery tasks for role synchronization. Check your logs to see the progress and results.
When creating a new Wanderer-managed map in Django Admin:
https://wanderer.ltd)Important Notes:
To automatically assign users or groups as map admins or managers:
python manage.py wanderer_cleanup_aclspython manage.py wanderer_cleanup_acls --map-id 5Important Notes:
To contribute to this project or test it locally, follow these steps:
Before setting up the development environment, you need to install system-level dependencies required by Alliance Auth:
Ubuntu/Debian:
sudo apt-get update
sudo apt-get install -y pkg-config python3-dev default-libmysqlclient-dev build-essential git redis-server
Or for MariaDB:
sudo apt-get install -y pkg-config python3-dev libmariadb-dev build-essential git redis-server
Fedora/RHEL/CentOS:
sudo dnf install -y pkg-config python3-devel mysql-devel gcc git redis
macOS:
brew install pkg-config mysql redis git
git clone https://github.com/guarzo/aa-wanderer-map.git
cd aa-wanderer-map
Using the setup script (recommended):
# Make the script executable
chmod +x dev-setup.sh
# Run the setup script
./dev-setup.sh
Manual setup:
# Create virtual environment
python3 -m venv venv
# Activate virtual environment
source venv/bin/activate # On Linux/Mac
# or
venv\Scripts\activate # On Windows
# Upgrade pip
pip install --upgrade pip
# Install development dependencies
pip install -e .
pip install tox black isort flake8
# Activate venv if not already activated
source venv/bin/activate
# Run all tests with tox
tox
# Run specific Python version tests
tox -e py310-django42
# Check code formatting
black --check .
# Format code
black .
# Check import sorting
isort . --check-only
# Sort imports
isort .
# Run linter
flake8 wanderer/
# Run pylint
tox -e pylint
# Install build tools
pip install build
# Build the package
python -m build
# Check the built package
ls -la dist/
Contributions are welcome! Please follow these steps:
git checkout -b feature/your-feature-nameblack . && isort .toxgit push origin feature/your-feature-namemysqlclient Build ErrorsIf you encounter errors like Can not find valid pkg-config name or mysql_config not found:
Solution: Install the required system packages:
# Ubuntu/Debian
sudo apt-get install pkg-config python3-dev default-libmysqlclient-dev build-essential
# Fedora/RHEL/CentOS
sudo dnf install pkg-config python3-devel mysql-devel gcc
# macOS
brew install pkg-config mysql
Then retry the setup.
If tests fail with Redis connection errors:
# Start Redis
redis-server --daemonize yes
# Or on macOS with Homebrew
brew services start redis
To format your code properly:
# Auto-format with Black
black .
# Sort imports
isort .
# Check for issues
flake8 wanderer/
# Then commit the changes
git add .
git commit -m "Fix formatting"
Please report issues on the GitHub issue tracker.
When reporting an issue, please include:
For questions and support:
question labelThis project is licensed under the MIT License. See the LICENSE file for details.
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
allianceauthEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | allianceauth>=4 | runtime |
allianceauth-app-utilsEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.10",
"evaluation": "NOT_EVALUATED"
} | allianceauth-app-utils>=1.25 | runtime |
bdist_wheel · 44.64 KB · Python py3
sdist · 38.5 KB · Python source
Observed since 20 Oct, 17:07 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:67c8a0ffaca8b0be6ffab8525b82cb09c2e9f7bf5d44d87f297d211a63feee05