From a3038cad005f0a4a11ad165198218966ceafb197 Mon Sep 17 00:00:00 2001 From: Ariel Rin Date: Fri, 30 Nov 2018 03:55:19 +0000 Subject: [PATCH] Update GitHub references to Gitlab --- README.md | 10 +++++----- allianceauth/templatetags/admin_status.py | 2 +- docs/installation/auth/allianceauth.md | 16 ++++++++-------- docs/installation/auth/upgradev1.md | 4 ++-- docs/installation/services/mumble.md | 2 +- docs/maintenance/troubleshooting.md | 8 ++++---- setup.py | 2 +- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 3bd3abef..d46e4024 100755 --- a/README.md +++ b/README.md @@ -17,13 +17,13 @@ An auth system for EVE Online to help in-game organizations manage online servic Active Developers: - - [Adarnof](https://github.com/adarnof/) - - [Basraah](https://github.com/basraah/) + - [Adarnof](https://gitlab.com/adarnof/) + - [Basraah](https://gitlab.com/basraah/) Beta Testers / Bug Fixers: - - [ghoti](https://github.com/ghoti/) - - [mmolitor87](https://github.com/mmolitor87/) + - [ghoti](https://gitlab.com/ChainsawMcGinny/) + - [mmolitor87](https://gitlab.com/mmolitor87/) - [TargetZ3R0](https://github.com/TargetZ3R0) - [kaezon](https://github.com/kaezon/) - [orbitroom](https://github.com/orbitroom/) @@ -32,4 +32,4 @@ Beta Testers / Bug Fixers: Special thanks to [Nikdoof](https://github.com/nikdoof/), as his [auth](https://github.com/nikdoof/test-auth) was the foundation for the original work on this project. ### Contributing -Make sure you have signed the [License Agreement](https://developers.eveonline.com/resource/license-agreement) by logging in at [https://developers.eveonline.com](https://developers.eveonline.com) before submitting any pull requests. \ No newline at end of file +Make sure you have signed the [License Agreement](https://developers.eveonline.com/resource/license-agreement) by logging in at [https://developers.eveonline.com](https://developers.eveonline.com) before submitting any pull requests. diff --git a/allianceauth/templatetags/admin_status.py b/allianceauth/templatetags/admin_status.py index be98dcaf..fc98063c 100644 --- a/allianceauth/templatetags/admin_status.py +++ b/allianceauth/templatetags/admin_status.py @@ -73,7 +73,7 @@ def get_notifications(): # Limit notifications to those posted by repo owners and members response['notifications'] += notifications[:5] except requests.RequestException: - logger.exception('Error while getting github notifications') + logger.exception('Error while getting gitlab notifications') return response diff --git a/docs/installation/auth/allianceauth.md b/docs/installation/auth/allianceauth.md index e477b4ec..271f77fb 100644 --- a/docs/installation/auth/allianceauth.md +++ b/docs/installation/auth/allianceauth.md @@ -2,7 +2,7 @@ ```eval_rst .. tip:: - If you are uncomfortable with Linux permissions follow the steps below as the root user. + If you are uncomfortable with Linux permissions follow the steps below as the root user. ``` ## Dependencies @@ -12,7 +12,7 @@ Alliance Auth can be installed on any operating system. Dependencies are provide ```eval_rst .. hint:: CentOS: A few packages are included in a non-default repository. Add it and update the package lists. :: - + yum -y install https://centos7.iuscommunity.org/ius-release.rpm yum update ``` @@ -61,7 +61,7 @@ CentOS: ```eval_rst .. important:: CentOS: Make sure Redis is running before continuing. :: - + systemctl enable redis.service systemctl start redis.service ``` @@ -106,7 +106,7 @@ Create a Python virtual environment and put it somewhere convenient (e.g. `/home A virtual environment provides support for creating a lightweight "copy" of Python with their own site directories. Each virtual environment has its own Python binary (allowing creation of environments with various Python versions) and can have its own independent set of installed Python packages in its site directories. You can read more about virtual environments on the Python_ docs. .. _Python: https://docs.python.org/3/library/venv.html ``` - + Activate the virtualenv using `source /home/allianceserver/venv/auth/bin/activate`. Note the `/bin/activate` on the end of the path. ```eval_rst @@ -131,7 +131,7 @@ Django needs to install models to the database before it can start. python /home/allianceserver/myauth/manage.py migrate Now we need to round up all the static files required to render templates. Make a directory to serve them from and populate it. - + mkdir -p /var/www/myauth/static python /home/allianceserver/myauth/manage.py collectstatic @@ -182,7 +182,7 @@ You can check the status of the processes with `supervisorctl status`. Logs from ```eval_rst .. note:: Any time the code or your settings change you'll need to restart Gunicorn and Celery. :: - + supervisorctl restart myauth: ``` @@ -202,10 +202,10 @@ If you intend to use this account as your personal auth account you need to add ## Updating -Periodically [new releases](https://github.com/allianceauth/allianceauth/releases/) are issued with bug fixes and new features. To update your install, simply activate your virtual environment and update with `pip install --upgrade allianceauth`. Be sure to read the release notes which will highlight changes. +Periodically [new releases](https://gitlab.com/allianceauth/allianceauth/tags) are issued with bug fixes and new features. To update your install, simply activate your virtual environment and update with `pip install --upgrade allianceauth`. Be sure to read the release notes which will highlight changes. Some releases come with changes to settings: update your project's settings with `allianceauth update /home/allianceserver/myauth`. Some releases come with new or changed models. Update your database to reflect this with `python /home/allianceserver/myauth/manage.py migrate`. - + Always restart Celery and Gunicorn after updating. diff --git a/docs/installation/auth/upgradev1.md b/docs/installation/auth/upgradev1.md index ecb720b4..42891ad3 100644 --- a/docs/installation/auth/upgradev1.md +++ b/docs/installation/auth/upgradev1.md @@ -56,7 +56,7 @@ Put comma-separated IDs into the brackets and the migration will create states w If you used member/blue group names other than the standard "Member" and "Blue" you can enter settings to have the member/blue states created through this migration take these names. - `DEFAULT_AUTH_GROUP = ""` the desired name of the "Member" state - - `DEFAULT_BLUE_GROUP = ""` the desired name of the "Blue" state + - `DEFAULT_BLUE_GROUP = ""` the desired name of the "Blue" state Any permissions assigned to these groups will be copied to the state replacing them. Because these groups are no longer managed they pose a security risk and so are deleted at the end of the migration automatically. @@ -82,4 +82,4 @@ A similar process can be used to ensure users who may have lost service permissi ## Help -If something goes wrong during the migration reach out for help on [Gitter](https://gitter.im/R4stl1n/allianceauth) or open an [issue](https://github.com/allianceauth/allianceauth/issues). \ No newline at end of file +If something goes wrong during the migration reach out for help on [Gitter](https://gitter.im/R4stl1n/allianceauth) or open an [issue](https://gitlab.com/allianceauth/allianceauth/issues). diff --git a/docs/installation/services/mumble.md b/docs/installation/services/mumble.md index b114c550..87abdb14 100644 --- a/docs/installation/services/mumble.md +++ b/docs/installation/services/mumble.md @@ -22,7 +22,7 @@ Now two packages need to be installed: apt-get install python-software-properties mumble-server -Download the appropriate authenticator release from [the authenticator repository](https://github.com/allianceauth/mumble-authenticator) and install the python dependencies for it: +Download the appropriate authenticator release from [the authenticator repository](https://gitlab.com/allianceauth/mumble-authenticator) and install the python dependencies for it: pip install -r requirements.txt diff --git a/docs/maintenance/troubleshooting.md b/docs/maintenance/troubleshooting.md index def222da..649aa79a 100644 --- a/docs/maintenance/troubleshooting.md +++ b/docs/maintenance/troubleshooting.md @@ -2,17 +2,17 @@ ## Something broken? Stuck on an issue? Can't get it set up? -Start by checking the [issues](https://github.com/allianceauth/allianceauth/issues?q=is%3Aissue) - especially closed ones. +Start by checking the [issues](https://gitlab.com/allianceauth/allianceauth/issues?scope=all&utf8=%E2%9C%93&state=all&search=my+issue) - especially closed ones. No answer? - - open an [issue](https://github.com/allianceauth/allianceauth/issues) + - open an [issue](https://gitlab.com/allianceauth/allianceauth/issues) - harass us on [gitter](https://gitter.im/R4stl1n/allianceauth) - + ## Logging In its default configuration your auth project logs INFO and above messages to myauth/log/allianceauth.log. If you're encountering issues it's a good idea to view DEBUG messages as these greatly assist the troubleshooting process. These are printed to the console with manually starting the webserver via `python manage.py runserver`. -To record DEBUG messages in the log file, alter a setting in your auth project's settings file: `LOGGING['handlers']['log_file']['level'] = 'DEBUG'`. After restarting gunicorn and celery your log file will record all logging messages. +To record DEBUG messages in the log file, alter a setting in your auth project's settings file: `LOGGING['handlers']['log_file']['level'] = 'DEBUG'`. After restarting gunicorn and celery your log file will record all logging messages. ## Common Problems diff --git a/setup.py b/setup.py index 6152c66a..fa1f2136 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ setup( python_requires='~=3.4', license='GPLv2', packages=['allianceauth'], - url='https://github.com/allianceauth/allianceauth', + url='https://gitlab.com/allianceauth/allianceauth', zip_safe=False, include_package_data=True, entry_points="""