Commit 8c572498 authored by hydrargyrum's avatar hydrargyrum
Browse files

replace weboob.org URLs with woob.tech

parent 99b73512
......@@ -417,4 +417,4 @@ Damien Cassou <damien@cassou.me>
Discover how to contribute to this great software:
http://dev.weboob.org/guides/contribute
http://dev.woob.tech/guides/contribute
......@@ -14,9 +14,9 @@ a lot of duplicate work.
Write a patch
-------------
Help yourself with the [documentation](http://docs.weboob.org/).
Help yourself with the [documentation](http://docs.woob.tech/).
Find an opened issue on [this website](https://git.weboob.org/weboob/weboob/issues),
Find an opened issue on [this website](https://git.woob.tech/weboob/weboob/issues),
or write your own bugfix or feature. Then, once it is necessary, commit with:
$ git commit -a
......@@ -36,14 +36,14 @@ You can run these scripts to be sure your patch doesn't break anything:
$ tools/run_tests.sh yourmodulename # or without yourmodulename to test everything
Perhaps you should also write or fix tests. These tests are automatically run by
[Gitlab CI](https://git.weboob.org/weboob/weboob/pipelines) at each commit and merge requests.
[Gitlab CI](https://git.woob.tech/weboob/weboob/pipelines) at each commit and merge requests.
Create a merge request or send a patch
--------------------------------------
The easiest way to send your patch is to create a fork on [the Weboob
Gitlab](https://git.weboob.org) and create a merge request from there.
Gitlab](https://git.woob.tech) and create a merge request from there.
This way, the code review process is easier and continuous integration is run
automatically (see previous section).
......@@ -53,7 +53,7 @@ If you prefer good old email patches, just use
Then, send them with this command:
$ git send-email --to=weboob@weboob.org *.patch
$ git send-email --to=weboob@woob.tech *.patch
You can also send the files by yourself if you haven't any configured MTA on your system.
......@@ -62,7 +62,7 @@ Notes on merging a merge request
--------------------------------
Few people (members of the [Weboob group on this
repo](https://git.weboob.org/groups/weboob/group_members)) have the right to
repo](https://git.woob.tech/groups/weboob/group_members)) have the right to
merge a MR.
Anyone is welcome to review and comment pending merge requests. A merge
......
......@@ -2,7 +2,7 @@ Woob installation
=================
Using the packages provided by your distribution is recommended.
See http://weboob.org/install for a list of available packages.
See http://woob.tech/install for a list of available packages.
Since there are many dependencies, when you install from sources,
you have to handle them by hand, according to your distribution.
......
......@@ -40,7 +40,7 @@ Woob is written in Python and is distributed under the LGPLv3+ license.
For more information, please go to [the official website](http://woob.tech/).
Some extra info is available in the [Gitlab
wiki](https://git.weboob.org/weboob/devel/wikis/home).
wiki](https://git.woob.tech/weboob/devel/wikis/home).
If you are a developper and looking for how to write a module or contribute to
Woob, you can have a look at the [developper documentation](http://dev.weboob.org/).
Woob, you can have a look at the [developper documentation](http://dev.woob.tech/).
......@@ -9,7 +9,7 @@
</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">This is the developer documentation. If you are not a developer and you are looking for information about the project, check the <a href="http://weboob.org" class="reference external">official website</a>.</p>
<p class="last">This is the developer documentation. If you are not a developer and you are looking for information about the project, check the <a href="http://woob.tech" class="reference external">official website</a>.</p>
</div>
<p><strong>Hello world:</strong></p>
......
<h3>Other resources</h3>
<ul>
<li><a href="http://weboob.org/">Official website</a></li>
<li><a href="https://git.weboob.org/weboob/weboob/issues">Bug Tracker</a></li>
<li><a href="http://woob.tech/">Official website</a></li>
<li><a href="https://git.woob.tech/weboob/weboob/issues">Bug Tracker</a></li>
<li><a href="https://symlink.me/projects/weboob/files">Download stable version</a></li>
</ul>
......@@ -7,9 +7,9 @@ By coding
Write a patch
-------------
Help yourself with the `documentation <http://docs.weboob.org/>`_.
Help yourself with the `documentation <http://docs.woob.tech/>`_.
Find an opened issue on `this website <https://git.weboob.org/weboob/weboob/issues>`_, or write your own bugfix or feature.
Find an opened issue on `this website <https://git.woob.tech/weboob/weboob/issues>`_, or write your own bugfix or feature.
Then, once it is necessary, commit with::
$ git commit -a
......@@ -31,12 +31,12 @@ To aid in verifying Python 3 compatibility, also run::
$ tools/run_tests.sh -3 yourmodulename
Perhaps you should also write or fix tests. These tests are automatically run by
`Gitlab CI <https://git.weboob.org/weboob/weboob/pipelines>`_ at each commit and merge requests.
`Gitlab CI <https://git.woob.tech/weboob/weboob/pipelines>`_ at each commit and merge requests.
Create a merge request or send a patch
--------------------------------------
The easiest way to send your patch is to create a fork on `the Weboob Gitlab <https://git.weboob.org>`_ and create a merge
The easiest way to send your patch is to create a fork on `the Weboob Gitlab <https://git.woob.tech>`_ and create a merge
request from there. This way, the code review process is easier and continuous integration is run automatically (see
previous section).
......@@ -45,11 +45,11 @@ previous section).
Using the ``git+ssh`` protocol to clone the repository will only work when connected from an
IPv6 compatible network:
`$ git clone gitlab@git.weboob.org:weboob/weboob.git`
`$ git clone gitlab@git.woob.tech:weboob/weboob.git`
But it is possible to use the ``git+https`` protocol from everywhere (IPv4 and IPv6 networks):
`$ git clone https://git.weboob.org/weboob/weboob.git`
`$ git clone https://git.woob.tech/weboob/weboob.git`
If you prefer good old email patches, just use
......@@ -59,7 +59,7 @@ If you prefer good old email patches, just use
Then, send them with this command::
$ git send-email --to=weboob@weboob.org *.patch
$ git send-email --to=weboob@woob.tech *.patch
You can also send the files by yourself if you haven't any configured MTA on your system.
......@@ -76,4 +76,4 @@ You can `install a Gitlab runner <https://docs.gitlab.com/runner/install/>`_ and
it either by creating a dedicated Docker image with your credentials or running it in ``shell`` mode and making the
backend file available to it).
Then, you should contact us at admin@weboob.org so that we could help you register your runner with our Gitlab.
Then, you should contact us at admin@woob.tech so that we could help you register your runner with our Gitlab.
Write a new module
==================
This guide aims to learn how to write a new module for `Weboob <http://weboob.org>`_.
This guide aims to learn how to write a new module for `Weboob <http://woob.tech>`_.
Before read it, you should :doc:`setup your development environment </guides/setup>`.
......
......@@ -8,7 +8,7 @@ Git installation
Clone a git repository with this command::
$ git clone https://git.weboob.org/weboob/weboob.git
$ git clone https://git.woob.tech/weboob/weboob.git
We don't want to install Weboob on the whole system, so we create local directories where
we will put symbolic links to sources::
......@@ -28,7 +28,7 @@ If inside a virtualenv, no need to update the paths, they are all in the virtual
Repositories setup
------------------
As you may know, Weboob installs modules from `remote repositories <http://weboob.org/modules>`_. As you
As you may know, Weboob installs modules from `remote repositories <http://woob.tech/modules>`_. As you
probably want to use modules in sources instead of stable ones, because you will change them, or create
a new one, you have to add this line at end of ``~/.config/weboob/sources.list``::
......
......@@ -21,7 +21,7 @@ Then, it run every method which name starts with ``test_``.
.. note::
Some environment variables are available, to use specific backend file or send the test results. Refer to `the
comments in the script <https://git.weboob.org/weboob/weboob/blob/master/tools/run_tests.sh#L4-8>`_ for more infos on this.
comments in the script <https://git.woob.tech/weboob/weboob/blob/master/tools/run_tests.sh#L4-8>`_ for more infos on this.
If a module name is passed as argument, only this module will be tested. For example, to only run ``lutim`` tests::
......
......@@ -52,9 +52,9 @@ description = Woob, Web Outside Of Browsers
long_description = file:README.md
author = Romain Bignon
author_email = weboob@weboob.org
author_email = woob@woob.tech
maintainer = Romain Bignon
maintainer_email = romain@weboob.org
maintainer_email = romain@woob.tech
url = https://woob.tech/
license = GNU LGPL 3
......
......@@ -223,7 +223,7 @@ def analyze_application(app, script_name):
footer += '\n\n "~/.config/woob/%s"' % app.APPNAME
# Skip internal applications.
footer += "\n\n.SH SEE ALSO\nHome page: http://weboob.org/applications/%s" % application.APPNAME
footer += "\n\n.SH SEE ALSO\nHome page: http://woob.tech/applications/%s" % application.APPNAME
mantext = u"%s\n%s\n%s\n%s\n%s\n%s\n%s" % (coding, comment, header, name, helptext, condition, footer)
with open(os.path.join(BASE_PATH, DEST_DIR, "%s.1" % script_name), 'w+') as manfile:
......
......@@ -12,7 +12,7 @@ VDIR=
usage () {
cat << EOF
Usage: $0 [-s] [-d DIR]
-s point sources.list to $SRC/modules instead of updates.weboob.org
-s point sources.list to $SRC/modules instead of updates.woob.tech
-d DIR install virtualenv in DIR instead of a new dir
EOF
}
......
......@@ -435,10 +435,10 @@ def send_notification(self, email_to, issue):
""" % (issue.title, issue.id)
msg = MIMEText(text, 'plain', 'utf-8')
msg['Subject'] = 'Issue #%s reported' % issue.id
msg['From'] = 'Weboob <weboob@weboob.org>'
msg['From'] = 'Woob <woob@woob.tech>'
msg['To'] = email_to
s = SMTP('localhost')
s.sendmail('weboob@weboob.org', [email_to], msg.as_string())
s.sendmail('woob@woob.tech', [email_to], msg.as_string())
s.quit()
def do_post(self, line):
......
......@@ -86,7 +86,7 @@ def do_build(self, line):
Build backends contained in SOURCE to REPOSITORY.
Example:
$ weboob-repos build $HOME/src/weboob/modules /var/www/updates.weboob.org/0.a/
$ woob-repos build $HOME/src/woob/modules /var/www/updates.woob.tech/0.a/
"""
source_path, repo_path = self.parse_command_args(line, 2, 2)
index_file = os.path.join(repo_path, Repository.INDEX)
......
......@@ -707,13 +707,13 @@ class DomainBrowser(Browser):
"""
A browser that handles relative URLs and can have a base URL (usually a domain).
For instance self.location('/hello') will get http://weboob.org/hello
if BASEURL is 'http://weboob.org/'.
For instance self.location('/hello') will get http://woob.tech/hello
if BASEURL is 'http://woob.tech/'.
"""
BASEURL = None
"""
Base URL, e.g. 'http://weboob.org/' or 'https://weboob.org/'
Base URL, e.g. 'http://woob.tech/' or 'https://woob.tech/'
See absurl().
"""
......@@ -939,7 +939,7 @@ def pagination(self, func, *args, **kwargs):
... raise NextPage(next.attrib['href'])
...
>>> class Browser(PagesBrowser):
... BASEURL = 'https://weboob.org'
... BASEURL = 'https://woob.tech'
... list = URL('/tests/list-(?P<pagenum>\d+).html', Page)
...
>>> b = Browser()
......
......@@ -60,7 +60,7 @@ def pagination(func):
>>> from .browsers import PagesBrowser
>>> from .url import URL
>>> class Browser(PagesBrowser):
... BASEURL = 'https://weboob.org'
... BASEURL = 'https://woob.tech'
... list = URL('/tests/list-(?P<pagenum>\d+).html', Page)
...
>>> b = Browser()
......
......@@ -23,7 +23,7 @@
class MyMockBrowserWithoutBrowser(object):
BASEURL = "http://weboob.org/"
BASEURL = "http://woob.tech/"
url = URL("http://test.org/")
......@@ -34,7 +34,7 @@ class MyMockPage(Page):
# Mock that allows to represent a Browser
class MyMockBrowser(PagesBrowser):
BASEURL = "http://weboob.org/"
BASEURL = "http://woob.tech/"
# URL used by method match
urlNotRegex = URL("http://test.org/", "http://test2.org/")
......@@ -48,7 +48,7 @@ class MyMockBrowser(PagesBrowser):
urlSameParams = URL("http://test.com/(?P<id>\d+)", "http://test.com\?id=(?P<id>\d+)&name=(?P<name>.+)")
# URL used by method is_here
urlIsHere = URL('http://weboob.org/(?P<param>)', MyMockPage)
urlIsHere = URL('http://woob.tech/(?P<param>)', MyMockPage)
urlIsHereDifKlass = URL('http://free.fr/', MyMockPage)
......@@ -64,14 +64,14 @@ def setUp(self):
def test_match_base_none_browser_none(self):
self.assertRaises(AssertionError,
self.myBrowserWithoutBrowser.url.match,
"http://weboob.org/")
"http://woob.tech/")
# Check that no assert is raised when browser is none and a base is indeed
# instanciated when given as a parameter
def test_match_base_not_none_browser_none(self):
try:
self.myBrowserWithoutBrowser.url.match("http://weboob.org/news",
"http://weboob.org/")
self.myBrowserWithoutBrowser.url.match("http://woob.tech/news",
"http://woob.tech/")
except AssertionError:
self.fail("Method match returns an AssertionError while" +
" base parameter is not none!")
......@@ -79,7 +79,7 @@ def test_match_base_not_none_browser_none(self):
# Check that none is returned when none of the defined urls is a regex for
# the given url
def test_match_url_pasregex_baseurl(self):
res = self.myBrowser.urlNotRegex.match("http://weboob.org/news")
res = self.myBrowser.urlNotRegex.match("http://woob.tech/news")
self.assertIsNone(res)
# Check that true is returned when one of the defined urls is a regex
......@@ -90,13 +90,13 @@ def test_match_url_regex_baseurl(self):
# Successful test with relatives url
def test_match_url_without_http(self):
res = self.myBrowser.urlRegWithoutHttp.match("http://weboob.org/news")
res = self.myBrowser.urlRegWithoutHttp.match("http://woob.tech/news")
self.assertTrue(res)
# Unsuccessful test with relatives url
def test_match_url_without_http_fail(self):
browser = self.myBrowser
res = browser.urlNotRegWithoutHttp.match("http://weboob.org/news")
res = browser.urlNotRegWithoutHttp.match("http://woob.tech/news")
self.assertIsNone(res)
# Checks that build returns the right url when it needs to add
......
......@@ -70,10 +70,10 @@ def __init__(self, modules_path=None, storage=None, scheduler=None):
if modules_path is None:
import pkg_resources
# Package weboob_modules is provided by
# https://git.weboob.org/weboob/modules
# https://git.woob.tech/weboob/modules
# and should be pip-installed separately.
# Note that Weboob users should rather install Weboob modules
# through https://updates.weboob.org/.
# through https://updates.woob.tech/.
modules_path = pkg_resources.resource_filename('weboob_modules', '')
if modules_path:
......
......@@ -438,7 +438,7 @@ def prompt(self, message):
# The entries below override the entries above (with
# backends of the same name).
https://updates.weboob.org/%(version)s/main/
https://updates.woob.tech/%(version)s/main/
# DEVELOPMENT
# If you want to hack on Woob modules, you may add a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment