Skip to content
Commits on Source (14)
......@@ -14,7 +14,7 @@ paste here
### What are the steps to reproduce the problem?
### What weboob version are you using?
### What woob version are you using?
Output of `woob config --version` command:
......@@ -30,7 +30,7 @@ Output of `woob config info MODULE_NAME` command:
paste here
```
### How did you install weboob?
### How did you install woob?
Example: apt, brew, distro packages, pip, setup.py
......
......@@ -16,7 +16,7 @@ Write a patch
Help yourself with the [documentation](http://docs.woob.tech/).
Find an opened issue on [this website](https://git.woob.tech/weboob/weboob/issues),
Find an opened issue on [this website](https://gitlab.com/woob/woob/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.woob.tech/weboob/weboob/pipelines) at each commit and merge requests.
[Gitlab CI](https://gitlab.com/woob/woob/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.woob.tech) and create a merge request from there.
The easiest way to send your patch is to create a fork on [the Woob
Gitlab](https://gitlab.com/woob/woob) 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@woob.tech *.patch
$ git send-email --to=woob@woob.tech *.patch
You can also send the files by yourself if you haven't any configured MTA on your system.
......@@ -61,14 +61,14 @@ You can also send the files by yourself if you haven't any configured MTA on you
Notes on merging a merge request
--------------------------------
Few people (members of the [Weboob group on this
repo](https://git.woob.tech/groups/weboob/group_members)) have the right to
Few people (members of the [Woob group on this
repo](https://gitlab.com/groups/woob/-/group_members)) have the right to
merge a MR.
Anyone is welcome to review and comment pending merge requests. A merge
request should in principle have at least two reviewers before getting merged.
Weboob repo should keep an history as linear as possible. Then, merging a merge
Woob repo should keep an history as linear as possible. Then, merging a merge
request should be done locally, with prior rebasing upon the `master` branch
and take care of using the `-ff-only` merge option. Merge requests should
**NOT** be merged through the Gitlab UI, which would result in an extra "merge"
......
......@@ -14,7 +14,7 @@ The requirements are provided in ``setup.py``, except for:
Some modules may have more dependencies.
After a package or system installation, you should run ``woob config update``
After a package or system installation, you should run ``woob update``
as your login user.
There are 2 versions of woob:
......@@ -31,7 +31,7 @@ No need to use the git repository in this case. Just
This pip installation can be run within a virtualenv if desired (don't add ``--user``).
Then `woob-config update` can be run to fetch the list of available modules,
Then `woobupdate` can be run to fetch the list of available modules,
and the various woob commands (woob bank, woob video, etc.) can be run and are able
to install modules.
......@@ -73,12 +73,12 @@ This does not actually install anything, but lets you run Woob from the
source code, while also using the modules from that source. This is only
recommended if using the git source and not a release. ::
$ ./tools/local_run.sh APPLICATION COMMANDS
$ ./tools/local_run.sh COMMAND [args ..]
For example, instead of running ``woob video -b youtube search plop``, you would
run::
$ ./tools/local_run.sh woob video -b youtube search plop
$ ./tools/local_run.sh video -b youtube search plop
Bash completion
---------------
......
......@@ -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](https://woob.tech/).
Some extra info is available in the [Gitlab
wiki](https://git.woob.tech/weboob/devel/wikis/home).
wiki](https://gitlab.com/woob/woob/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](https://dev.woob.tech/).
......@@ -4,20 +4,20 @@
# Copyright(C) 2010-2011 Christophe Benz
#
# This file is part of weboob.
# This file is part of woob.
#
# weboob is free software: you can redistribute it and/or modify
# woob is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# weboob is distributed in the hope that it will be useful,
# woob is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with weboob. If not, see <http://www.gnu.org/licenses/>.
# along with woob. If not, see <http://www.gnu.org/licenses/>.
from videoob_web import VideoobWeb
......
......@@ -36,7 +36,7 @@ Perhaps you should also write or fix tests. These tests are automatically run by
Create a merge request or send a patch
--------------------------------------
The easiest way to send your patch is to create a fork on `the woob gitlab <https://gitlab.com>`_ and create a merge
The easiest way to send your patch is to create a fork on `the woob gitlab <https://gitlab.com/woob/woob/>`_ and create a merge
request from there. This way, the code review process is easier and continuous integration is run automatically (see
previous section).
......
......@@ -36,7 +36,7 @@ a new one, you have to add this line at end of ``~/.config/woob/sources.list``::
Then, run this command::
$ woob config update
$ woob update
Run woob without installation
-------------------------------
......@@ -44,11 +44,11 @@ Run woob without installation
This does not actually install anything, but lets you run woob from the source code,
while also using the modules from that source::
$ ./tools/local_run.sh APPLICATION COMMANDS
$ ./tools/local_run.sh COMMAND [args ..]
For example, instead of running `videoob -b youtube search plop`, you would run::
For example, instead of running `woob video -b youtube search plop`, you would run::
$ ./tools/local_run.sh videoob -b youtube search plop
$ ./tools/local_run.sh video -b youtube search plop
Conclusion
......
......@@ -4,7 +4,7 @@ Automated tests
Summary
*******
Weboob is a wide project which has several backends and applications, and changes can impact a lot of subsystems. To be sure that everything works fine after an important change, it's necessary to have automated tests on each subsystems.
Woob is a wide project which has several backends and applications, and changes can impact a lot of subsystems. To be sure that everything works fine after an important change, it's necessary to have automated tests on each subsystems.
How it works
************
......@@ -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://gitlab.com/weboob/weboob/blob/master/tools/run_tests.sh#L4-8>`_ for more infos on this.
comments in the script <https://gitlab.com/woob/woob/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::
......@@ -53,7 +53,7 @@ If no one is found, the tests are skipped.
Example::
from weboob.tools.test import BackendTest
from woob.tools.test import BackendTest
class YoutubeTest(BackendTest):
MODULE = 'youtube'
......
......@@ -2,20 +2,20 @@
# Copyright(C) 2013 Julien Veyssier
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from .module import SevenFiftyGramsModule
......
......@@ -2,23 +2,23 @@
# Copyright(C) 2013 Julien Veyssier
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from weboob.browser.exceptions import BrowserHTTPNotFound
from weboob.browser import PagesBrowser, URL
from woob.browser.exceptions import BrowserHTTPNotFound
from woob.browser import PagesBrowser, URL
from .pages import RecipePage, ResultsPage
......
......@@ -2,24 +2,24 @@
# Copyright(C) 2013 Julien Veyssier
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.recipe import CapRecipe, Recipe
from weboob.tools.backend import Module
from weboob.tools.compat import unicode
from woob.capabilities.recipe import CapRecipe, Recipe
from woob.tools.backend import Module
from woob.tools.compat import unicode
from .browser import SevenFiftyGramsBrowser
......
......@@ -2,32 +2,32 @@
# Copyright(C) 2013 Julien Veyssier
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from weboob.capabilities.recipe import Recipe, Comment
from weboob.capabilities.base import NotAvailable
from weboob.capabilities.image import BaseImage, Thumbnail
from weboob.browser.pages import HTMLPage, pagination
from weboob.browser.elements import ItemElement, ListElement, method
from weboob.browser.filters.standard import CleanText, Regexp, Env, CleanDecimal, Eval
from weboob.browser.filters.json import Dict, NotFound
from woob.capabilities.recipe import Recipe, Comment
from woob.capabilities.base import NotAvailable
from woob.capabilities.image import BaseImage, Thumbnail
from woob.browser.pages import HTMLPage, pagination
from woob.browser.elements import ItemElement, ListElement, method
from woob.browser.filters.standard import CleanText, Regexp, Env, CleanDecimal, Eval
from woob.browser.filters.json import Dict, NotFound
from datetime import datetime, date, time
from dateutil.parser import parse as parse_date
from weboob.tools.json import json
from woob.tools.json import json
class Time(Dict):
......
......@@ -2,22 +2,22 @@
# Copyright(C) 2013 Julien Veyssier
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.test import BackendTest
from woob.tools.test import BackendTest
import itertools
......
......@@ -2,20 +2,20 @@
# Copyright(C) 2013 Bezleputh
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from .module import AdeccoModule
......
......@@ -2,23 +2,23 @@
# Copyright(C) 2013 Bezleputh
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from weboob.browser import PagesBrowser, URL
from weboob.tools.compat import quote_plus
from woob.browser import PagesBrowser, URL
from woob.tools.compat import quote_plus
from .pages import SearchPage, AdvertPage, AdvertsJsonPage
......
......@@ -2,26 +2,26 @@
# Copyright(C) 2013 Bezleputh
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from collections import OrderedDict
from weboob.tools.backend import Module, BackendConfig
from weboob.tools.value import Value
from weboob.capabilities.job import CapJob, BaseJobAdvert
from woob.tools.backend import Module, BackendConfig
from woob.tools.value import Value
from woob.capabilities.job import CapJob, BaseJobAdvert
from .browser import AdeccoBrowser
__all__ = ['AdeccoModule']
......
......@@ -2,32 +2,32 @@
# Copyright(C) 2013 Bezleputh
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
import requests
from weboob.browser.pages import HTMLPage, pagination, JsonPage
from weboob.browser.elements import ItemElement, method, DictElement
from woob.browser.pages import HTMLPage, pagination, JsonPage
from woob.browser.elements import ItemElement, method, DictElement
from weboob.browser.filters.standard import CleanText, Regexp, Date
from weboob.browser.filters.html import CleanHTML
from weboob.browser.filters.json import Dict
from woob.browser.filters.standard import CleanText, Regexp, Date
from woob.browser.filters.html import CleanHTML
from woob.browser.filters.json import Dict
from weboob.browser.filters.javascript import JSVar
from weboob.capabilities.job import BaseJobAdvert
from weboob.capabilities.base import empty
from woob.browser.filters.javascript import JSVar
from woob.capabilities.job import BaseJobAdvert
from woob.capabilities.base import empty
class SearchPage(HTMLPage):
......
......@@ -2,24 +2,24 @@
# Copyright(C) 2013 Bezleputh
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from weboob.tools.test import BackendTest
from weboob.tools.value import Value
from woob.tools.test import BackendTest
from woob.tools.value import Value
import itertools
......
......@@ -2,20 +2,20 @@
# Copyright(C) 2015 James GALT
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from .module import AferModule
......
......@@ -2,25 +2,25 @@
# Copyright(C) 2012-2019 Budget Insight
#
# This file is part of a weboob module.
# This file is part of a woob module.
#
# This weboob module is free software: you can redistribute it and/or modify
# This woob module is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This weboob module is distributed in the hope that it will be useful,
# This woob module is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this weboob module. If not, see <http://www.gnu.org/licenses/>.
# along with this woob module. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals
from weboob.browser import AbstractBrowser
from woob.browser import AbstractBrowser
class AferBrowser(AbstractBrowser):
......