Browse Source

replace weboob.org URLs with woob.tech

Vincent A 2 months ago
parent
commit
8c57249812

+ 1
- 1
AUTHORS View File

@@ -417,4 +417,4 @@ Damien Cassou <damien@cassou.me>
417 417
 
418 418
 
419 419
 Discover how to contribute to this great software:
420
-http://dev.weboob.org/guides/contribute
420
+http://dev.woob.tech/guides/contribute

+ 6
- 6
CONTRIBUTING.md View File

@@ -14,9 +14,9 @@ a lot of duplicate work.
14 14
 Write a patch
15 15
 -------------
16 16
 
17
-Help yourself with the [documentation](http://docs.weboob.org/).
17
+Help yourself with the [documentation](http://docs.woob.tech/).
18 18
 
19
-Find an opened issue on [this website](https://git.weboob.org/weboob/weboob/issues),
19
+Find an opened issue on [this website](https://git.woob.tech/weboob/weboob/issues),
20 20
 or write your own bugfix or feature. Then, once it is necessary, commit with:
21 21
 
22 22
     $ git commit -a
@@ -36,14 +36,14 @@ You can run these scripts to be sure your patch doesn't break anything:
36 36
     $ tools/run_tests.sh yourmodulename  # or without yourmodulename to test everything
37 37
 
38 38
 Perhaps you should also write or fix tests. These tests are automatically run by
39
-[Gitlab CI](https://git.weboob.org/weboob/weboob/pipelines) at each commit and merge requests.
39
+[Gitlab CI](https://git.woob.tech/weboob/weboob/pipelines) at each commit and merge requests.
40 40
 
41 41
 
42 42
 Create a merge request or send a patch
43 43
 --------------------------------------
44 44
 
45 45
 The easiest way to send your patch is to create a fork on [the Weboob
46
-Gitlab](https://git.weboob.org) and create a merge request from there.
46
+Gitlab](https://git.woob.tech) and create a merge request from there.
47 47
 This way, the code review process is easier and continuous integration is run
48 48
 automatically (see previous section).
49 49
 
@@ -53,7 +53,7 @@ If you prefer good old email patches, just use
53 53
 
54 54
 Then, send them with this command:
55 55
 
56
-    $ git send-email --to=weboob@weboob.org *.patch
56
+    $ git send-email --to=weboob@woob.tech *.patch
57 57
 
58 58
 You can also send the files by yourself if you haven't any configured MTA on your system.
59 59
 
@@ -62,7 +62,7 @@ Notes on merging a merge request
62 62
 --------------------------------
63 63
 
64 64
 Few people (members of the [Weboob group on this
65
-repo](https://git.weboob.org/groups/weboob/group_members)) have the right to
65
+repo](https://git.woob.tech/groups/weboob/group_members)) have the right to
66 66
 merge a MR.
67 67
 
68 68
 Anyone is welcome to review and comment pending merge requests. A merge

+ 1
- 1
INSTALL View File

@@ -2,7 +2,7 @@ Woob installation
2 2
 =================
3 3
 
4 4
 Using the packages provided by your distribution is recommended.
5
-See http://weboob.org/install for a list of available packages.
5
+See http://woob.tech/install for a list of available packages.
6 6
 
7 7
 Since there are many dependencies, when you install from sources,
8 8
 you have to handle them by hand, according to your distribution.

+ 2
- 2
README.md View File

@@ -40,7 +40,7 @@ Woob is written in Python and is distributed under the LGPLv3+ license.
40 40
 For more information, please go to [the official website](http://woob.tech/).
41 41
 
42 42
 Some extra info is available in the [Gitlab
43
-wiki](https://git.weboob.org/weboob/devel/wikis/home).
43
+wiki](https://git.woob.tech/weboob/devel/wikis/home).
44 44
 
45 45
 If you are a developper and looking for how to write a module or contribute to
46
-Woob, you can have a look at the [developper documentation](http://dev.weboob.org/).
46
+Woob, you can have a look at the [developper documentation](http://dev.woob.tech/).

+ 1
- 1
docs/source/_templates/indexcontent.html View File

@@ -9,7 +9,7 @@
9 9
   </p>
10 10
   <div class="admonition note">
11 11
   <p class="first admonition-title">Note</p>
12
-  <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>
12
+  <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>
13 13
   </div>
14 14
 
15 15
   <p><strong>Hello world:</strong></p>

+ 2
- 2
docs/source/_templates/indexsidebar.html View File

@@ -1,6 +1,6 @@
1 1
 <h3>Other resources</h3>
2 2
 <ul>
3
-  <li><a href="http://weboob.org/">Official website</a></li>
4
-  <li><a href="https://git.weboob.org/weboob/weboob/issues">Bug Tracker</a></li>
3
+  <li><a href="http://woob.tech/">Official website</a></li>
4
+  <li><a href="https://git.woob.tech/weboob/weboob/issues">Bug Tracker</a></li>
5 5
   <li><a href="https://symlink.me/projects/weboob/files">Download stable version</a></li>
6 6
 </ul>

+ 8
- 8
docs/source/guides/contribute.rst View File

@@ -7,9 +7,9 @@ By coding
7 7
 Write a patch
8 8
 -------------
9 9
 
10
-Help yourself with the `documentation <http://docs.weboob.org/>`_.
10
+Help yourself with the `documentation <http://docs.woob.tech/>`_.
11 11
 
12
-Find an opened issue on `this website <https://git.weboob.org/weboob/weboob/issues>`_, or write your own bugfix or feature.
12
+Find an opened issue on `this website <https://git.woob.tech/weboob/weboob/issues>`_, or write your own bugfix or feature.
13 13
 Then, once it is necessary, commit with::
14 14
 
15 15
     $ git commit -a
@@ -31,12 +31,12 @@ To aid in verifying Python 3 compatibility, also run::
31 31
     $ tools/run_tests.sh -3 yourmodulename
32 32
 
33 33
 Perhaps you should also write or fix tests. These tests are automatically run by
34
-`Gitlab CI <https://git.weboob.org/weboob/weboob/pipelines>`_ at each commit and merge requests.
34
+`Gitlab CI <https://git.woob.tech/weboob/weboob/pipelines>`_ at each commit and merge requests.
35 35
 
36 36
 Create a merge request or send a patch
37 37
 --------------------------------------
38 38
 
39
-The easiest way to send your patch is to create a fork on `the Weboob Gitlab <https://git.weboob.org>`_ and create a merge
39
+The easiest way to send your patch is to create a fork on `the Weboob Gitlab <https://git.woob.tech>`_ and create a merge
40 40
 request from there. This way, the code review process is easier and continuous integration is run automatically (see
41 41
 previous section).
42 42
 
@@ -45,11 +45,11 @@ previous section).
45 45
     Using the ``git+ssh`` protocol to clone the repository will only work when connected from an
46 46
     IPv6 compatible network:
47 47
 
48
-    `$ git clone gitlab@git.weboob.org:weboob/weboob.git`
48
+    `$ git clone gitlab@git.woob.tech:weboob/weboob.git`
49 49
 
50 50
     But it is possible to use the ``git+https`` protocol from everywhere (IPv4 and IPv6 networks):
51 51
 
52
-    `$ git clone https://git.weboob.org/weboob/weboob.git`
52
+    `$ git clone https://git.woob.tech/weboob/weboob.git`
53 53
 
54 54
 If you prefer good old email patches, just use
55 55
 
@@ -59,7 +59,7 @@ If you prefer good old email patches, just use
59 59
 
60 60
 Then, send them with this command::
61 61
 
62
-    $ git send-email --to=weboob@weboob.org *.patch
62
+    $ git send-email --to=weboob@woob.tech *.patch
63 63
 
64 64
 You can also send the files by yourself if you haven't any configured MTA on your system.
65 65
 
@@ -76,4 +76,4 @@ You can `install a Gitlab runner <https://docs.gitlab.com/runner/install/>`_ and
76 76
 it either by creating a dedicated Docker image with your credentials or running it in ``shell`` mode and making the
77 77
 backend file available to it).
78 78
 
79
-Then, you should contact us at admin@weboob.org so that we could help you register your runner with our Gitlab.
79
+Then, you should contact us at admin@woob.tech so that we could help you register your runner with our Gitlab.

+ 1
- 1
docs/source/guides/module.rst View File

@@ -1,7 +1,7 @@
1 1
 Write a new module
2 2
 ==================
3 3
 
4
-This guide aims to learn how to write a new module for `Weboob <http://weboob.org>`_.
4
+This guide aims to learn how to write a new module for `Weboob <http://woob.tech>`_.
5 5
 
6 6
 Before read it, you should :doc:`setup your development environment </guides/setup>`.
7 7
 

+ 2
- 2
docs/source/guides/setup.rst View File

@@ -8,7 +8,7 @@ Git installation
8 8
 
9 9
 Clone a git repository with this command::
10 10
 
11
-    $ git clone https://git.weboob.org/weboob/weboob.git
11
+    $ git clone https://git.woob.tech/weboob/weboob.git
12 12
 
13 13
 We don't want to install Weboob on the whole system, so we create local directories where
14 14
 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
28 28
 Repositories setup
29 29
 ------------------
30 30
 
31
-As you may know, Weboob installs modules from `remote repositories <http://weboob.org/modules>`_. As you
31
+As you may know, Weboob installs modules from `remote repositories <http://woob.tech/modules>`_. As you
32 32
 probably want to use modules in sources instead of stable ones, because you will change them, or create
33 33
 a new one, you have to add this line at end of ``~/.config/weboob/sources.list``::
34 34
 

+ 1
- 1
docs/source/guides/tests.rst View File

@@ -21,7 +21,7 @@ Then, it run every method which name starts with ``test_``.
21 21
 
22 22
 .. note::
23 23
     Some environment variables are available, to use specific backend file or send the test results. Refer to `the
24
-    comments in the script <https://git.weboob.org/weboob/weboob/blob/master/tools/run_tests.sh#L4-8>`_ for more infos on this.
24
+    comments in the script <https://git.woob.tech/weboob/weboob/blob/master/tools/run_tests.sh#L4-8>`_ for more infos on this.
25 25
 
26 26
 If a module name is passed as argument, only this module will be tested. For example, to only run ``lutim`` tests::
27 27
 

+ 2
- 2
setup.cfg View File

@@ -52,9 +52,9 @@ description = Woob, Web Outside Of Browsers
52 52
 long_description = file:README.md
53 53
 
54 54
 author = Romain Bignon
55
-author_email = weboob@weboob.org
55
+author_email = woob@woob.tech
56 56
 maintainer = Romain Bignon
57
-maintainer_email = romain@weboob.org
57
+maintainer_email = romain@woob.tech
58 58
 
59 59
 url = https://woob.tech/
60 60
 license = GNU LGPL 3

+ 1
- 1
tools/make_man.py View File

@@ -223,7 +223,7 @@ For full copyright information see the COPYING file in the woob package.
223 223
         footer += '\n\n "~/.config/woob/%s"' % app.APPNAME
224 224
 
225 225
     # Skip internal applications.
226
-    footer += "\n\n.SH SEE ALSO\nHome page: http://weboob.org/applications/%s" % application.APPNAME
226
+    footer += "\n\n.SH SEE ALSO\nHome page: http://woob.tech/applications/%s" % application.APPNAME
227 227
 
228 228
     mantext = u"%s\n%s\n%s\n%s\n%s\n%s\n%s" % (coding, comment, header, name, helptext, condition, footer)
229 229
     with open(os.path.join(BASE_PATH, DEST_DIR, "%s.1" % script_name), 'w+') as manfile:

+ 1
- 1
tools/setup-virtualenv.sh View File

@@ -12,7 +12,7 @@ VDIR=
12 12
 usage () {
13 13
     cat << EOF
14 14
 Usage: $0 [-s] [-d DIR]
15
-  -s            point sources.list to $SRC/modules instead of updates.weboob.org
15
+  -s            point sources.list to $SRC/modules instead of updates.woob.tech
16 16
   -d DIR        install virtualenv in DIR instead of a new dir
17 17
 EOF
18 18
 }

+ 2
- 2
weboob/applications/bugtracker/bugtracker.py View File

@@ -435,10 +435,10 @@ Woob Team
435 435
 """ % (issue.title, issue.id)
436 436
         msg = MIMEText(text, 'plain', 'utf-8')
437 437
         msg['Subject'] = 'Issue #%s reported' % issue.id
438
-        msg['From'] = 'Weboob <weboob@weboob.org>'
438
+        msg['From'] = 'Woob <woob@woob.tech>'
439 439
         msg['To'] = email_to
440 440
         s = SMTP('localhost')
441
-        s.sendmail('weboob@weboob.org', [email_to], msg.as_string())
441
+        s.sendmail('woob@woob.tech', [email_to], msg.as_string())
442 442
         s.quit()
443 443
 
444 444
     def do_post(self, line):

+ 1
- 1
weboob/applications/repos/repos.py View File

@@ -86,7 +86,7 @@ class AppWoobRepos(ReplApplication):
86 86
         Build backends contained in SOURCE to REPOSITORY.
87 87
 
88 88
         Example:
89
-        $ weboob-repos build $HOME/src/weboob/modules /var/www/updates.weboob.org/0.a/
89
+        $ woob-repos build $HOME/src/woob/modules /var/www/updates.woob.tech/0.a/
90 90
         """
91 91
         source_path, repo_path = self.parse_command_args(line, 2, 2)
92 92
         index_file = os.path.join(repo_path, Repository.INDEX)

+ 4
- 4
weboob/browser/browsers.py View File

@@ -707,13 +707,13 @@ class DomainBrowser(Browser):
707 707
     """
708 708
     A browser that handles relative URLs and can have a base URL (usually a domain).
709 709
 
710
-    For instance self.location('/hello') will get http://weboob.org/hello
711
-    if BASEURL is 'http://weboob.org/'.
710
+    For instance self.location('/hello') will get http://woob.tech/hello
711
+    if BASEURL is 'http://woob.tech/'.
712 712
     """
713 713
 
714 714
     BASEURL = None
715 715
     """
716
-    Base URL, e.g. 'http://weboob.org/' or 'https://weboob.org/'
716
+    Base URL, e.g. 'http://woob.tech/' or 'https://woob.tech/'
717 717
     See absurl().
718 718
     """
719 719
 
@@ -939,7 +939,7 @@ class PagesBrowser(DomainBrowser):
939 939
         ...             raise NextPage(next.attrib['href'])
940 940
         ...
941 941
         >>> class Browser(PagesBrowser):
942
-        ...     BASEURL = 'https://weboob.org'
942
+        ...     BASEURL = 'https://woob.tech'
943 943
         ...     list = URL('/tests/list-(?P<pagenum>\d+).html', Page)
944 944
         ...
945 945
         >>> b = Browser()

+ 1
- 1
weboob/browser/pages.py View File

@@ -60,7 +60,7 @@ def pagination(func):
60 60
     >>> from .browsers import PagesBrowser
61 61
     >>> from .url import URL
62 62
     >>> class Browser(PagesBrowser):
63
-    ...     BASEURL = 'https://weboob.org'
63
+    ...     BASEURL = 'https://woob.tech'
64 64
     ...     list = URL('/tests/list-(?P<pagenum>\d+).html', Page)
65 65
     ...
66 66
     >>> b = Browser()

+ 9
- 9
weboob/browser/tests/url.py View File

@@ -23,7 +23,7 @@ from weboob.browser.url import UrlNotResolvable
23 23
 
24 24
 
25 25
 class MyMockBrowserWithoutBrowser(object):
26
-    BASEURL = "http://weboob.org/"
26
+    BASEURL = "http://woob.tech/"
27 27
     url = URL("http://test.org/")
28 28
 
29 29
 
@@ -34,7 +34,7 @@ class MyMockPage(Page):
34 34
 
35 35
 # Mock that allows to represent a Browser
36 36
 class MyMockBrowser(PagesBrowser):
37
-    BASEURL = "http://weboob.org/"
37
+    BASEURL = "http://woob.tech/"
38 38
 
39 39
     # URL used by method match
40 40
     urlNotRegex = URL("http://test.org/", "http://test2.org/")
@@ -48,7 +48,7 @@ class MyMockBrowser(PagesBrowser):
48 48
     urlSameParams = URL("http://test.com/(?P<id>\d+)", "http://test.com\?id=(?P<id>\d+)&name=(?P<name>.+)")
49 49
 
50 50
     # URL used by method is_here
51
-    urlIsHere = URL('http://weboob.org/(?P<param>)', MyMockPage)
51
+    urlIsHere = URL('http://woob.tech/(?P<param>)', MyMockPage)
52 52
     urlIsHereDifKlass = URL('http://free.fr/', MyMockPage)
53 53
 
54 54
 
@@ -64,14 +64,14 @@ class URLTest(TestCase):
64 64
     def test_match_base_none_browser_none(self):
65 65
         self.assertRaises(AssertionError,
66 66
                           self.myBrowserWithoutBrowser.url.match,
67
-                          "http://weboob.org/")
67
+                          "http://woob.tech/")
68 68
 
69 69
     # Check that no assert is raised when browser is none and a base is indeed
70 70
     # instanciated when given as a parameter
71 71
     def test_match_base_not_none_browser_none(self):
72 72
         try:
73
-            self.myBrowserWithoutBrowser.url.match("http://weboob.org/news",
74
-                                                   "http://weboob.org/")
73
+            self.myBrowserWithoutBrowser.url.match("http://woob.tech/news",
74
+                                                   "http://woob.tech/")
75 75
         except AssertionError:
76 76
             self.fail("Method match returns an AssertionError while" +
77 77
                       " base parameter is not none!")
@@ -79,7 +79,7 @@ class URLTest(TestCase):
79 79
     # Check that none is returned when none of the defined urls is a regex for
80 80
     # the given url
81 81
     def test_match_url_pasregex_baseurl(self):
82
-        res = self.myBrowser.urlNotRegex.match("http://weboob.org/news")
82
+        res = self.myBrowser.urlNotRegex.match("http://woob.tech/news")
83 83
         self.assertIsNone(res)
84 84
 
85 85
     # Check that true is returned when one of the defined urls is a regex
@@ -90,13 +90,13 @@ class URLTest(TestCase):
90 90
 
91 91
     # Successful test with relatives url
92 92
     def test_match_url_without_http(self):
93
-        res = self.myBrowser.urlRegWithoutHttp.match("http://weboob.org/news")
93
+        res = self.myBrowser.urlRegWithoutHttp.match("http://woob.tech/news")
94 94
         self.assertTrue(res)
95 95
 
96 96
     # Unsuccessful test with relatives url
97 97
     def test_match_url_without_http_fail(self):
98 98
         browser = self.myBrowser
99
-        res = browser.urlNotRegWithoutHttp.match("http://weboob.org/news")
99
+        res = browser.urlNotRegWithoutHttp.match("http://woob.tech/news")
100 100
         self.assertIsNone(res)
101 101
 
102 102
     # Checks that build returns the right url when it needs to add

+ 2
- 2
weboob/core/ouiboube.py View File

@@ -70,10 +70,10 @@ class WebNip(object):
70 70
         if modules_path is None:
71 71
             import pkg_resources
72 72
             # Package weboob_modules is provided by
73
-            # https://git.weboob.org/weboob/modules
73
+            # https://git.woob.tech/weboob/modules
74 74
             # and should be pip-installed separately.
75 75
             # Note that Weboob users should rather install Weboob modules
76
-            # through https://updates.weboob.org/.
76
+            # through https://updates.woob.tech/.
77 77
             modules_path = pkg_resources.resource_filename('weboob_modules', '')
78 78
 
79 79
         if modules_path:

+ 1
- 1
weboob/core/repositories.py View File

@@ -438,7 +438,7 @@ DEFAULT_SOURCES_LIST = \
438 438
 # The entries below override the entries above (with
439 439
 # backends of the same name).
440 440
 
441
-https://updates.weboob.org/%(version)s/main/
441
+https://updates.woob.tech/%(version)s/main/
442 442
 
443 443
 # DEVELOPMENT
444 444
 # If you want to hack on Woob modules, you may add a