Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/chaoss/grimoirelab-kingarthur
King Arthur commands his loyal knight Perceval on the quest to retrieve data from software repositories.
https://github.com/chaoss/grimoirelab-kingarthur
This code aims at aligning the CI tests across
the different grimoirelab components.
Python 3.4...
aecd1d8a7a98b37fd7cec4bd234b556f73ac207d authored about 5 years ago by Valerio Cosentino <[email protected]>
Merges #105
Closes #105
Fixes #104
In order to return the job_number field and the job_id identifier,
this tuple is created with th...
Merges #99
Closes #99
Fixes #98
In order to avoid errors when the job is queued, the job_number
field is now returned picking it...
This commits adds the funcionality of saving the job_number
identifier in the metadata of the jo...
Signed-off-by: Valerio Cosentino <[email protected]>
7c0ec65e14994dd50d3f773140e2d079f2a9a985 authored about 5 years ago by Valerio Cosentino <[email protected]>
Merges #97
Closes #97
Fixes #83
The new schema for job ids consists on a single hash, generated
using the `uuid` module. The for...
Merges #95
Closes #95
Fixes #90
This code updates the following dependencies:
- python-dateutil>=2.8.0
- cherrypy>=17.4.2
- cher...
Merges #96
b79dc879d0732f0c3fff5e0f8fb1ed6e5e5710ab authored about 5 years ago by Valerio Cosentino <[email protected]>
This identifier is an integer that will be increased
each time a task is re-scheduled. Take into...
Merges #91
Closes #91
Fixes #85
This code adds an info message about ignoring the log path folder
when the no-daemon param is on...
This code allows to send log messages to stderr when the param
--no-daemon is on. Thus, granting...
Merges #89
Closes #89
Fixes #86
`arthur` script was developed for testing purposes but it was not
being used lately. This caused...
Merges #82
Closes #82
Fixes #79
This commits adds a test of the new endpoint added to the server,
this endpoint return the data ...
In order to query the jobs that are in arthur, this commits adds
a new endpoint to the CherryPy ...
Merges #81
Closes #81
Fixes #75
To use the summary report, it is required to use
perceval >= 0.2.23 and grimoirelab-toolkit >= 0...
Some information related to the progress of a job was
stored within JobResult. Since Perceval pr...
The class 'BackendItemsGenerator' from 'perceval' package
provides an easy way to generate items...
The decorator 'metadata' has been refactored and moved to
the class PercevalJob. Now it is a pri...
Merges #80
Closes #80
Fixes #77
This patch removes this feature. Tasks will be in change
of resuming unfinished jobs. To keep tr...
Those tasks that fail but that are able to be resumed
will be rescheduled if 'max_retries' is no...
So far jobs store whether they can be resumed when they
fail. Tasks will be responsible to resch...
Merges #78
Closes #78
Fixes #72
This commit adds three tests that test the initialization of the
logger handler of the job logs,...
In order to save the logs of each job, this commit adds the
functionality of storing them in the...
bb716e00caada924180db464d6bf60129843bf39 authored over 5 years ago by Santiago Dueñas <[email protected]>
Merges #71
Closes #71
Fixes #47
This code updates the RQ dependency to 1.0.
The param `timeout` has been updated to `job_timeout...
Signed-off-by: Santiago Dueñas <[email protected]>
48f9347ddc63c8cf2f96859daf0291f86f290586 authored over 5 years ago by Santiago Dueñas <[email protected]>
Source distribution packages will start including
some missing metadata files such as the licens...
Merges #70
Closes #70
This patch sets requests to ignore certificate validation
of the Elasticsearch server where item...
Merges #69
Closes #69
Fixes #49
With this patch, the scheduler will run the jobs in
a user defined queue when it is set in the t...
When 'queue' parameter is set, the task will be forced
to run on that queue. When the parameter ...
Merges #68
Closes #68
Fixes #48
Tasks which their 'age' has reached to their lifetime
('max_age') will be set as 'TaskStatus.COM...
With 'max_age' attribute, it is possible to define the
lifetime of a tasks. In other words, how ...
Merges #67
Closes #67
Signed-off-by: Valerio Cosentino <[email protected]>
0b0a89ea077c370a608643d18223cb428958ac57 authored over 5 years ago by Valerio Cosentino <[email protected]>Merges #63
9f1111c181f8b32dedcdd5cba277a5d2798a43e8 authored over 5 years ago by Valerio Cosentino <[email protected]>
Pypi requires that the format of the long description for a
package is detailed in the variable ...
Merges #65
Closes #65
The current tests were running with real repositories.
This can make the testing fail and non-de...
Merges #64
Closes #64
Fixes #61
Some of the properties were excluded form the
conversion because they do not give any value.
It ...
When a new job is created and enqueued, the scheduler
adds its identifier to the parent task. Jo...
The purpose of 'jobs' attribute is to store the list of jobs
identifiers to keep the history of ...
This commit adds the REST API method 'task'. Giving a 'task_id',
it will return all the informat...
This function is the standart way to generate datetimes
of the current instant. This also improv...
When a job is enequeued its time-to-live (ttl) can be defined.
In this commit, it has been set t...
Merges #62
Closes #62
Fixes #60
With this commit, these events are listened and handled
by the scheduler, updating the task stat...
The attribute 'task_id' has been included because
most of the handlers required it to know which...
The new event added is STARTED. This event is sent by a worker
when a job starts running. As a p...
Merges #59
Closes #59
Fixes #56
Parameters 'result_handler' and 'result_handler_err' are
no longer needed in JobEventsListener, ...
Event handlers were integrated within Scheduler class.
Among coupling problems, this made imposs...
Merges #58
Closes #58
This code updates the dynamic templates, which is now
aligned to ES > 5. Furthermore, it improve...
The recommended to install GrimoireLab packages is pip.
This commit updates the installation met...
Merges #57
Closes #57
Fixes #55
Align method names with the public class due to jobs
are only internal to the scheduler.
Signed...
32429df60b6cf5c4d59f95f4b15082c04c0ab3f5 authored over 5 years ago by Santiago Dueñas <[email protected]>
With this change 'TaskScheduler' class will be de one
responsible to determine which tasks go to...
With this refactoring, RQ jobs will be only generated, when
they are enqueued. Thus, the jobs sc...
Merges #54
Closes #54
Fixes #53
The scheduler is responsible of updating task status though
the different stages.
Signed-off-by...
001420eae70e9d262cbcf65ba666d411e049a097 authored over 5 years ago by Santiago Dueñas <[email protected]>
This commit adds a class to define the different stages
of a task can have during its life cycle...
Merges #51
Closes #51
Fixes #50
When job was completed, the worker sent a message to notify
about whether the job finished corre...
With this patch, the event listener adds methods to subscribe
to/unsubscribe of job events. Alon...
A new class JobEvent is introduced in this commit to send
job notifications using events. There ...
Merges #52
Closes #52
This code fixes the coveralls badge, which was
not outputting a invalid response data.
Signed-o...
0347ed833c20638ecc82fec947758854fff8b44b authored over 5 years ago by Valerio Cosentino <[email protected]>
Merges #45
Fixes #45
Closes #44
Signed-off-by: Cedric Williams <[email protected]>
0fa3964c106ac4e60c77dca82e7973a24038b48b authored over 5 years ago by Cedric Williams <[email protected]>d614d0830856464e299c3e1537835e03766149f6 authored almost 6 years ago by Santiago Dueñas <[email protected]>
Merges #42
Closes #42
The push_ and pop_ connection management seems to be no longer
required due to fixes in RQ.
Flake warnings were related to W606 and RQ's use of
async keyword argument.
This patch allows to specify the name of the PUBSUB Redis
channel. With this change, Arthur will...
23d899aa572a5b186b4aeb01449f00978aa42ead authored about 6 years ago by Santiago Dueñas <[email protected]>
Third-party required packages had invalid versions. This commit
fixes them.
aaf29f9fc89aec9063d1143f5b294ec9f3a3aa64 authored about 6 years ago by Santiago Dueñas <[email protected]>
Most recent Redis package is in version 3.0. This version is
incompatible with RQ 0.12. This pat...
ecc4e1ae016e4152a948387eb20172b9bb1fe130 authored over 6 years ago by Alvaro del Castillo <[email protected]>
Merges #38
Closes #38
This code replaces the import of grimoirelab toolkit to make
the code working with the new packa...
89d9a4b9602675626607bd50309da1f636800024 authored over 6 years ago by Alvaro del Castillo <[email protected]>
Merges #37
Closes #37
This code modifies the tests for tasks according to the task
validation introduce previously.
This code enables validation of the tasks sent to the Arthur
server. It checks that `task_id`, `...