David Douard <david.douard@logilab.fr> [Sun, 26 Oct 2014 14:43:12 +0100] rev 1762
[apycotlib] set a 'tmpdir' CheckResultInfo if keep_dir is True
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 16:47:05 +0100] rev 1761
[entities] Project.recommends may not exist (it's defined in cubicweb-forge)
David Douard <david.douard@logilab.fr> [Fri, 14 Nov 2014 12:55:15 +0100] rev 1760
add a quick recipe that uses virtualenv
also rename ATest.dependencie in src_configuration
David Douard <david.douard@logilab.fr> [Sun, 26 Oct 2014 00:26:31 +0200] rev 1759
kill preprocessor, since there is nothing left there
Preprocessing is now handled via dedicated recipes.
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 15:17:12 +0100] rev 1758
[test] update test_functionnal
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 15:15:38 +0100] rev 1757
[test] improve unittest_apycot
David Douard <david.douard@logilab.fr> [Fri, 14 Nov 2014 12:39:29 +0100] rev 1756
[test] improve unittest_entities
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:59:40 +0100] rev 1755
[test] improve hooks tests
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:57:28 +0100] rev 1754
[apycotlib] kill _apycotlib.repositories
it's now handled by checkout recipes
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:56:29 +0100] rev 1753
[views] GetConfiguration work directly with a TC or a PE
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:55:11 +0100] rev 1752
[testutils] small improvements
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:53:00 +0100] rev 1751
[recipes] update quick ans setup.distutils recipes
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:50:54 +0100] rev 1750
[narval] ATest has no project_path() any more
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:49:22 +0100] rev 1749
[narval] kill DistutilsProcessor
it's now handled by setup recipes
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:48:20 +0100] rev 1748
[apycotlib] no more checker.need_preprocessor
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:47:40 +0100] rev 1747
[apycotlib] the get_configuration view now returns only the configuration of the given entity
for TestConfig or ProjectEnvironment
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:43:37 +0100] rev 1746
[apycotlib] remove the install_environment function from narvalactions
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:42:17 +0100] rev 1745
[apycotlib] remove 'preprocessor' and 'repository' registries
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:41:15 +0100] rev 1744
[apycotlib] replace the use of create_subentity controller by rqlio
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:34:08 +0100] rev 1743
[atest] ensure an error in a recipe execution (even a SyntaxError) is reported
instead of crashing the process
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:32:39 +0100] rev 1742
[atest] improve environment variable reporting
David Douard <david.douard@logilab.fr> [Thu, 13 Nov 2014 14:00:29 +0100] rev 1741
[apycotlib] use writer.raw instead of removed writer.version
David Douard <david.douard@logilab.fr> [Fri, 14 Nov 2014 12:51:47 +0100] rev 1740
Big Refactoring (BR) of the test execution model
Get rid of narval preprocessors in favor of Recipes
- Each preprocessing recipe must be run from the "main" recipe (thus we add
a ATest.exec_recipe() method that can be called from Recipe execution).
- We add a (Repository, checkout_recipe, Recipe) relation, which is the
Recipe that tells how to retrieve the code for a given Repository
- Also add a (ProjectEnvironment, setup_recipe, Recip) dedicated to perform
the installation for a project (compile and install)
- Add implementations for these recipes for Python project
- Rewrite the quick recipe using this new model
David Douard <david.douard@logilab.fr> [Thu, 11 Dec 2014 22:18:16 +0100] rev 1739
update to vcsfile 2
- kill SVN support
- update to new vcsfile 2 schema
David Douard <david.douard@logilab.fr> [Tue, 21 Oct 2014 23:17:46 +0200] rev 1738
[recipe] improve recipes' comments
David Douard <david.douard@logilab.fr> [Tue, 21 Oct 2014 23:16:13 +0200] rev 1737
[schema] remove useless status vocabulary elements
David Douard <david.douard@logilab.fr> [Sun, 26 Oct 2014 18:30:36 +0100] rev 1736
[apycotlib] port to narval 4.2
The connection handler is now a CWProxy (cwclientlib), and there is no
CreateSubEntity view any more since we can now create File entity
using cwclientlib and rqlcontroller.
David Douard <david.douard@logilab.fr> [Tue, 14 Oct 2014 08:49:14 +0200] rev 1735
[test] fix StartTestTC.launch_all_tests method
Ensure TestExecution are listed only once
David Douard <david.douard@logilab.fr> [Sat, 11 Oct 2014 17:35:51 +0200] rev 1734
[test] compatibility with vcsfile 2
use HGRCMixin in some tests
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 15:39:21 +0100] rev 1733
Added tag apycot-version-3.2.0, apycot-debian-version-3.2.0-1 for changeset 09fb0fe7cedb
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 15:26:03 +0100] rev 1732
[debian] stop using deprecated dh_clean -k
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 15:25:14 +0100] rev 1731
[debian] work around dh_python2 silliness
If you give it a private dir, it won't act on the public one.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 15:15:01 +0100] rev 1730
[debian] use dh_python2 instead of dh_pysupport
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 15:00:43 +0100] rev 1729
[pkg] require vcsfile 2
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 14:27:07 +0100] rev 1678
[pkg] 3.2.0
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 14:25:53 +0100] rev 1677
[apycotlib] remove support for SVN repositories
Closes #4786982
David Douard <david.douard@logilab.fr> [Tue, 21 Oct 2014 23:15:12 +0200] rev 1676
[apycotlib] improve docstrings
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 14:18:51 +0100] rev 1675
[test] set up evolve extension so vcsfile import can do its thing
Related to #4786982
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 14:17:50 +0100] rev 1674
Stop using Repository.path, gone in vcsfile 2
Use a file:// source_url instead.
Related to #4786982.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 12:24:45 +0100] rev 1673
[narval] any has been a python builtin forever
Julien Cristau <julien.cristau@logilab.fr> [Tue, 23 Dec 2014 12:16:53 +0100] rev 1672
[schema] deal with vcsfile 2
Related to #4786982
Julien Cristau <julien.cristau@logilab.fr> [Wed, 12 Nov 2014 11:06:44 +0100] rev 1671
Drop support for use_pkginfo_python_versions
Unused.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 19 Dec 2014 13:37:34 +0100] rev 1670
[narval] fix pylint checker for pylint 1.4 (closes #4771946)
Our custom reporter was not calling its parent's __init__, leading to a
crash when add_message tried to access path_strip_prefix.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Nov 2014 16:06:08 +0100] rev 1669
[apycotlib] stop using logilab.common.hg (closes #4639284)
It was removed in 0.63.0. Use hglib instead, which gives a stable
python API to mercurial.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Nov 2014 14:56:04 +0100] rev 1571
Fix line vs column confusion in pylint checker
pylint 0.24 added column offset to its messages, meaning location[-1] is
no longer the line number.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 17 Oct 2014 15:06:31 +0200] rev 1568
[views] use StringIO from the io module
Julien Cristau <julien.cristau@logilab.fr> [Fri, 25 Jul 2014 12:08:50 +0200] rev 1567
[hooks] silence cubicweb 3.17 deprecation warning
Julien Cristau <julien.cristau@logilab.fr> [Fri, 25 Jul 2014 12:05:02 +0200] rev 1566
[test] port to cubicweb 3.19
Julien Cristau <julien.cristau@logilab.fr> [Fri, 25 Jul 2014 11:06:29 +0200] rev 1565
[hooks] port to cubicweb 3.19
Also, stop translating validation error message here, it's handled by
the web side of things.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Jul 2014 14:39:57 +0200] rev 1561
Silence cubicweb 3.16 deprecation warnings
set_attributes/set_relations became cw_set.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Jul 2014 12:10:47 +0200] rev 1560
Silence cubicweb 3.16 deprecation warnings
cubicweb.web.uicfg → cubicweb.web.views.uicfg
Julien Cristau <julien.cristau@logilab.fr> [Thu, 24 Jul 2014 12:08:32 +0200] rev 1559
Silence cubicweb 3.15 deprecation warnings
cubicweb.selectors → cubicweb.predicates
Julien Cristau <julien.cristau@logilab.fr> [Fri, 11 Jul 2014 16:51:03 +0200] rev 1558
Added tag apycot-version-3.1.0, apycot-debian-version-3.1.0-1 for changeset a42ed51d1594
Julien Cristau <julien.cristau@logilab.fr> [Fri, 11 Jul 2014 15:55:37 +0200] rev 1557
[i18n] update
David Douard <david.douard@logilab.fr> [Thu, 10 Jul 2014 16:38:27 +0200] rev 1556
[pkg] prepare 3.1.0
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Jul 2014 16:37:36 +0200] rev 1555
Don't hide TestConfig.name from the primary view
If the testconfig has a label, the name may not be in the title.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 11 Jul 2014 15:24:10 +0200] rev 1554
[narval] adjust jslint checker for jslint update
It's no longer a command line utility, so add a tiny wrapper to call it.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 11 Jul 2014 14:40:31 +0200] rev 1553
[test] ignore the user's hgrc
Tests shouldn't depend on the user's own config.
David Douard <david.douard@logilab.fr> [Thu, 10 Jul 2014 16:00:26 +0200] rev 1550
[apycotlib] upgrade to narval 4.1
in which cwuri is not used any more and to follow the change in TestDataWriter API.
David Douard <david.douard@logilab.fr> [Thu, 10 Jul 2014 10:27:16 +0200] rev 1549
[test] fix unit tests
- fix the narval-cw-sources.ini (token_id+secret instead of user+password),
- update MockConnection which should not pretend to be a pyro repository
any more, but a http connection handler,
- code cleanup.
David Douard <david.douard@logilab.fr> [Wed, 09 Jul 2014 10:25:30 +0200] rev 1548
[apycotlib] fix url used to upload files (related to #4112497)
also use cnxh logger in TestDataWriter (and add more debug statements) since
this former logger is reported in the execution logs (in
TestExecution.execution_log).
Julien Cristau <julien.cristau@logilab.fr> [Wed, 09 Jul 2014 11:36:06 +0200] rev 1547
[narval/debcheck] use a glob instead of a recursive os.walk to find *.changes
We know where those files are, there's no need to do a recursive search.
This also avoids issues with os.walk with non-ascii file names.
***
Julien Cristau <julien.cristau@logilab.fr> [Mon, 07 Jul 2014 18:48:43 +0200] rev 1541
[narval] remove broken test_print_log method
lgp says "a build log is available at $path" before that's true (it only
copies it there afterwards), so we always said "$path not found".
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jun 2014 16:13:28 +0200] rev 1540
Added tag apycot-version-3.0.1, apycot-debian-version-3.0.1-1 for changeset 35b873cea565
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jun 2014 16:13:09 +0200] rev 1539
[pkg] release
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jun 2014 15:51:15 +0200] rev 1538
[pkg] attempt to fix things up after modname change
Things get sort of confused with a cube named 'apycot' and a public
library named 'apycotlib'. Maybe this will help...
Julien Cristau <julien.cristau@logilab.fr> [Fri, 20 Jun 2014 10:06:22 +0200] rev 1537
[pkg] modname is apycotlib, not apycot
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Jun 2014 10:24:24 +0200] rev 1535
[narval] update copy of jslint (closes #4016718)
Downloaded from https://raw.githubusercontent.com/douglascrockford/JSLint/master/jslint.js
Update debian/copyright.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 19 Jun 2014 10:16:50 +0200] rev 1534
[debian] change source package name to match pkginfo's distname
Otherwise we fail to use the sdist-generated tarball and get a native
debian package. Closes #4016396
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Jun 2014 17:24:26 +0200] rev 1533
[narval] fix pypi.upload checker harder
Thanks, pylint.
Related to #4002584
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jun 2014 15:58:38 +0200] rev 1532
[pkg] 3.0.1
Julien Cristau <julien.cristau@logilab.fr> [Fri, 06 Jun 2014 14:10:19 +0200] rev 1531
[lgp] refresh log in the lgp log handler (closes #4002751)
Should give us more progress information while things are building.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Jun 2014 14:11:15 +0200] rev 1530
[narval] Fix pypi.upload checker (closes #4002584)
1. NameError for apycotlib
2. NotImplementedError because apycot was looking for a do_check()
method, not run()
And drop the unused path argument to do_check.
David Douard <david.douard@logilab.fr> [Sat, 24 May 2014 16:45:15 +0200] rev 1527
[pkg] missing deps
David Douard <david.douard@logilab.fr> [Sat, 24 May 2014 22:35:00 +0200] rev 1526
[apycotlib] build "sane" URL for log file upload (closes #3886463)
David Douard <david.douard@logilab.fr> [Fri, 23 May 2014 11:00:46 +0200] rev 1525
[pkg] make __pkginfo__ unsensitive to current working directory
David Douard <david.douard@logilab.fr> [Thu, 22 May 2014 23:26:01 +0200] rev 1524
Added tag apycot-version-3.0.0, apycot-debian-version-3.0.0-1 for changeset 7157179d08dd
David Douard <david.douard@logilab.fr> [Thu, 22 May 2014 22:57:07 +0200] rev 1523
[test] fix test_functionnal.py
Bot had no proper cw source configuration.
David Douard <david.douard@logilab.fr> [Thu, 15 May 2014 08:58:58 +0200] rev 1522
[test] add mimssing unittest_main() calls
David Douard <david.douard@logilab.fr> [Wed, 14 May 2014 23:10:57 +0200] rev 1521
[pkg] prepare 3.0.0
- ensure MANIFEST.in is correct
- add entry in the debian/changelog
David Douard <david.douard@logilab.fr> [Wed, 14 May 2014 22:28:57 +0200] rev 1520
[test] fix tests when executed in an apycot environment
ie. when tests are executed from sources towards an installed apycot.
The fix consist mainly in "moving" the input_path function from testutils.py
(which is part of the installed modules) into unittest_checkers.py so
we are sure we look for test data files relatively to the test directory
(and not the location of the installation).
David Douard <david.douard@logilab.fr> [Wed, 14 May 2014 22:11:38 +0200] rev 1519
[pkg] fix jslint.js handling in __pkginfo__
and install it in /usr/share/narval/data directly (instead of
/usr/share/narval/data/apycot) for the sake of simplicity.
David Douard <david.douard@logilab.fr> [Wed, 14 May 2014 16:05:06 +0200] rev 1518
[apycotlib] keep a reference on the options dict in ATest
So it can be easily used from recipes
David Douard <david.douard@logilab.fr> [Wed, 14 May 2014 15:07:42 +0200] rev 1517
[narval] add a pypi.upload checker
cen be used to upload a tarball on pypi
David Douard <david.douard@logilab.fr> [Wed, 14 May 2014 12:34:52 +0200] rev 1516
[narval] fix recipes (when run from sources)
checkers must be imported first (required when run from sources) so
apycotlib is importable
David Douard <david.douard@logilab.fr> [Wed, 14 May 2014 11:34:12 +0200] rev 1515
[narval] ensure narval plugins can be imported (closes #3804730)
both in tests, when run from sources and from installed packages
David Douard <david.douard@logilab.fr> [Wed, 14 May 2014 11:38:26 +0200] rev 1514
[pkg] remove useless install_data from setup()
preprocessors (and checkers) can naw be just copied as data files.
David Douard <david.douard@logilab.fr> [Tue, 13 May 2014 11:52:45 +0200] rev 1513
[narval] use the new _narval standard directory
David Douard <david.douard@logilab.fr> [Mon, 12 May 2014 17:52:09 +0200] rev 1512
[schema] remove useless rdef redefinition (execution_log)
Since it's the exact same definition in narval's schema.
David Douard <david.douard@logilab.fr> [Mon, 12 May 2014 12:38:24 +0200] rev 1508
[migration] fix migration script for 3.0.0
- most migration steps are managed by narval (4.0.0)
- ensure conversion of log attribute into log_file does not consume too much memory
David Douard <david.douard@logilab.fr> [Wed, 23 Oct 2013 16:09:14 +0200] rev 1503
[entities] make sure log files are *not* indexed (FTI)
David Douard <david.douard@logilab.fr> [Wed, 30 Apr 2014 15:44:54 +0200] rev 1501
[test] ensure cubicweb.devtools is imported first
so the cubes are in sys.path
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 25 Apr 2014 16:46:49 +0200] rev 1500
[test] fill-in incomplete test docstring
David Douard <david.douard@logilab.fr> [Wed, 30 Apr 2014 15:16:04 +0200] rev 1499
[test] kill commented tests
David Douard <david.douard@logilab.fr> [Wed, 30 Apr 2014 15:14:27 +0200] rev 1498
[checkers] move lgp checkers to apycot
since it's more consistent to have lintian and piuparts checkers alongside
the lgp build checker.
David Douard <david.douard@logilab.fr> [Wed, 30 Apr 2014 12:03:56 +0200] rev 1497
[test] do not run PyLintChecker tests if pylint is not available
David Douard <david.douard@logilab.fr> [Wed, 30 Apr 2014 11:21:51 +0200] rev 1496
[doc] update the documentation
- remove deprecated content
- adapt to signedrequest dependency
David Douard <david.douard@logilab.fr> [Wed, 30 Apr 2014 12:09:35 +0200] rev 1495
[pkg] remove dependency on pyro and recommend logilab-devtools
Julien Cristau <julien.cristau@logilab.fr> [Fri, 25 Apr 2014 15:55:10 +0200] rev 1494
[migration] a few simplifications and fixes
- use rename_relation_type instead of deprecated rename_relation
- look at Plan's default workflow, not any workflow
- we don't need to log in as narval, managers should be able to fire
transitions
- avoid a few useless sync_schema_props_perms calls
- drop TestExecution.arguments
Julien Cristau <julien.cristau@logilab.fr> [Fri, 25 Apr 2014 15:21:09 +0200] rev 1491
[test] fix imports for distutils preprocessor
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 22 Apr 2014 15:16:34 +0200] rev 1490
[apycotlib] do not add carriage return between log blocks
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 18 Apr 2014 14:22:57 +0200] rev 1489
[pkg] create the checkers and preprocesors folders in /usr/share/narval
these folders where previously created by narval. They are part of what is
added by apycot and should therefore be created by apycot.
The main changes is to include the __init__ files at the root folder of
checkers and preprocessors.
Paul Tonelli <paul.tonelli@logilab.fr> [Wed, 09 Apr 2014 11:37:31 +0200] rev 1488
[apycotlib] update testexec status to error when preprocessor fails
previously, the status would stay at 'waiting execution' or 'success' even if
no checker was run.
Paul Tonelli <paul.tonelli@logilab.fr> [Wed, 16 Apr 2014 17:57:25 +0200] rev 1487
[apycotlib] update the refresh-log method using the new append-to-file controller
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 25 Apr 2014 11:07:13 +0200] rev 1486
[apycotlib] fix archive upload of narvalbot
- use texec eid in archive name (previously, the URL containing unauthorized
characters was used)
- put relative path in archive instead of absolute path
- don't go through useless StringIO when we can just pass the file object to requests
Paul Tonelli <paul.tonelli@logilab.fr> [Mon, 07 Apr 2014 18:59:37 +0200] rev 1485
[hooks] force status to failed if status not updated by checker
normally, the testexecution status is updated by the narvalbot. However, if the
recipe code fails the transition to fail is fired, but the testexecution is not
changed. In case of a 'publish recipe', this is an issue as only a single
testexecution must be in the 'waiting execution' state.
This patch adds a test showing the issue and the associated hook modification.
Paul Tonelli <paul.tonelli@logilab.fr> [Mon, 07 Apr 2014 14:11:29 +0200] rev 1484
[apycotlib] do not crash when the repository is not in the data
Paul Tonelli <paul.tonelli@logilab.fr> [Wed, 02 Apr 2014 11:35:07 +0200] rev 1483
[views] fix json dumps: add data in the correct format and only if available
Paul Tonelli <paul.tonelli@logilab.fr> [Wed, 23 Apr 2014 12:22:19 +0200] rev 1482
[apycotlib] add and update piuparts checker
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 18 Apr 2014 14:27:39 +0200] rev 1481
[apycotlib] update debian checkers for narval 4
- avoid name collision with existing python module "debian"
- fix pylint_threshod option name (from jpl configs)
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 01 Apr 2014 16:14:34 +0200] rev 1480
[apycotlib] mirror changes in narval 4 for file-upload
- rename of 'field' to 'r(elation)name'
- rename of 'log' to 'data'
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 01 Apr 2014 16:13:17 +0200] rev 1479
[schema] fix permissions for execution_log (TestExecution to File)
The relation execution_log, inherited from Plan by TestExecution does
not inherit the associated permissions unless they are explicit.
Paul Tonelli <paul.tonelli@logilab.fr> [Thu, 27 Mar 2014 16:46:29 +0100] rev 1478
[migration] fix migration to mirror narval (closes #3687137)
- log_files contained the archive of the run, they have been renamed to
execution_archive
- make sure the schema inherited entities are updated
- create workflow data for all testexecutions
Paul Tonelli <paul.tonelli@logilab.fr> [Mon, 24 Mar 2014 10:17:30 +0100] rev 1477
[apycotlib] make cnxh attribute from writer public
the connection handler is used directly, for example to get the cubicweb
instance url.
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 22 Apr 2014 12:33:16 +0200] rev 1476
[apycotlib] remove explicit _cw_fields creation
The field is created automatically by the http method.
Paul Tonelli <paul.tonelli@logilab.fr> [Mon, 24 Mar 2014 10:17:06 +0100] rev 1475
[apycotlib] improve calls to http_get /post when communicating with cubicweb:
- use get to get information from the cubicweb instance
- use post to send information to modify the cubicweb instance
- do not use object cwuri but concatenate cnxh url with eid
Julien Cristau <julien.cristau@logilab.fr> [Tue, 17 Dec 2013 11:13:04 +0100] rev 1474
[apycotlib] also try to get a human-readable description of the signal
Sadly the stdlib doesn't expose strsignal, so hack around it with ctypes.
Julien Cristau <julien.cristau@logilab.fr> [Fri, 18 Oct 2013 14:08:10 +0200] rev 1473
[apycotlib] when a child dies from a signal, look up the signal name
Should make for more readable logging.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 20 Jun 2013 10:46:42 +0200] rev 1472
Add css class corresponding to check status in summary tables
Julien Cristau <julien.cristau@logilab.fr> [Fri, 24 Jan 2014 11:39:31 +0100] rev 1471
[hooks] don't crash in start_period_tests if we can't find a branch head
If branch_head(branch) returns None, just ignore it instead of crashing.
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 22 Apr 2014 12:14:58 +0200] rev 1470
[test] add missing elements in test __pkginfo__ to avoid warnings
Paul Tonelli <paul.tonelli@logilab.fr> [Mon, 17 Mar 2014 14:35:03 +0100] rev 1469
[test] update/fix previously skipped tests
- replace SetUpModule and TearDownModule by in class equivalent (repo reset needed between tests)
- update old code in test_new_vc_trigger
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 08 Apr 2014 15:28:12 +0200] rev 1468
[apycotlib] move checkers/preprocessors to have same organisation in dev and packages
various necessary changes:
- path updates
- import cubes.apycot in tests to be sure _apycotlib is added to path
- rename pylint checkers to pycheckers to avoid confusion with package checkers
- fix js path in jslint.py
why:
If you install a pkg, the checkers are installed in::
/usr/share/narval/checkers/apycot/*
and /usr/share/narval is added to the path when launching them.
In a dev environment, they were previously in ::
_apycotlib/checkers/*
This required specific paths to make a dev environment work (added in __init__.py).
The new organisation puts checkers in::
_apycotlib/checkers/apycot/*
The new organisation only requires to add _apycotlib to path to make checkers
work.
Same thing was done for preprpocessors.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 17 Jan 2014 18:32:07 +0100] rev 1467
[doc] multiple doc upgrades:
- Add Apycot architecture specification. Remove deprecated file.
- Add Apycot quick start tutorial which replaces the French step by step
- integrate old doc and remove deprecated files
- Update checkers doc
Vladimir Popescu <vladimir.popescu@logilab.fr> [Wed, 26 Feb 2014 18:15:33 +0100] rev 1466
[apycotlib] fix unwanted path replacement
This could be a previous copy-paste mistake. The path can be predefined and
should only be forced to test.project_path() if it is initially at None (else,
dependencies install/config fails).
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 18 Apr 2014 18:12:56 +0200] rev 1465
Add test to justify last change
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 20 Dec 2013 17:11:25 +0100] rev 1464
[apycotlib] Correct dependency name call for new ProjectEnvironment format
(dict).
Vladimir Popescu <vladimir.popescu@logilab.fr> [Wed, 26 Feb 2014 15:42:03 +0100] rev 1463
[migration] Refactor migration script (use more RQL)
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 25 Apr 2014 14:21:23 +0200] rev 1462
[apycotlib] Correct pyunit and pycoverage behavior by updating coverage_data
Also add pycoverage checker in recipe, run if unit tests don't explode.
Vladimir Popescu <vladimir.popescu@logilab.fr> [Thu, 27 Feb 2014 10:31:26 +0100] rev 1461
[migration] fix recipes not appearing because of missing commit
Vladimir Popescu <vladimir.popescu@logilab.fr> [Fri, 29 Nov 2013 19:08:00 +0100] rev 1460
[checkers] Fix "name" lookup
David Douard <david.douard@logilab.fr> [Mon, 28 Oct 2013 18:03:54 +0100] rev 1459
[debian] various packaging updates and fixes
- rename source package into cubicweb-apycot for the sake of consistency
- bump debhelper and policy versions
- use python-support and add proper dependencies
- tell setup.py to move things to debian/tmp and dispatch with
dh_install instead of with manual 'mv' calls
- add (no-op) build-arch debian/rules target
- ensure checkers and preprocessor are installed in usr/share/narval/
David Douard <david.douard@logilab.fr> [Thu, 24 Oct 2013 16:46:24 +0200] rev 1458
[apycotlib] manage preprocessors like checkers
they should be installed in /usr/share/narval/
David Douard <david.douard@logilab.fr> [Tue, 08 Apr 2014 12:17:40 +0200] rev 1457
[test] fix unittest_apycot.py (follow change in narval)
Narval now generates <div> instead of <pre> in formatted log views.
David Douard <david.douard@logilab.fr> [Mon, 28 Oct 2013 11:22:08 +0100] rev 1456
[test] move test/utils.py to testutils.py (closes #3241611)
so it can be used from other cubes; also make the executed script an attribute
of the ApycotBaseTC class (to easy reuse by other cubes).
David Douard <david.douard@logilab.fr> [Mon, 14 Oct 2013 16:53:54 +0200] rev 1455
[apycotlib] add a 'displayname' argument to the atest.Test.run_checker method (closes #3241610)
so one can run the same checker several times in one test session, like::
with na.apycot_environment(plan) as test:
na.install_environment(test)
checker, status = test.run_checker('pyunit', displayname='Unit tests')
checker, status = test.run_checker('pyunit', displayname='Regressions', test_dirs=['reg'])
David Douard <david.douard@logilab.fr> [Mon, 14 Oct 2013 16:49:34 +0200] rev 1454
[apycotlib] add a 'test_prefixes' config option for PyUnitTestChecker (closes #3241609)
so one can configure the prefixes of the files identified as test to be run
David Douard <david.douard@logilab.fr> [Mon, 14 Oct 2013 16:47:11 +0200] rev 1453
[entities] fix anchor_name() to remove space chars also
David Douard <david.douard@logilab.fr> [Tue, 22 Oct 2013 21:47:29 +0200] rev 1452
[test] add config file in tests following narval changes to use instance_id
David Douard <david.douard@logilab.fr> [Tue, 22 Oct 2013 22:36:45 +0200] rev 1451
[pkg] checkers should now be installed in narval.checkers.apycot (closes #3241608)
but they should still be available from source (when running unit tests),
so make sure apycot/__init__.py fake the installed situation.
The dummy 'checkers' module is necessary to create 'checkers.apycot'
Paul Tonelli <paul.tonelli@logilab.fr> [Wed, 18 Sep 2013 13:29:47 +0200] rev 1450
[migration] update the script attribute of recipes, testexecutions and plans
related to #e50f134e41b7 changes
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 17 Sep 2013 13:46:21 +0200] rev 1449
[apycotlib] remove last remaining dependency to cubes (closes #3241607)
we do not want apycotlib to depend on the apycot cube.
Paul Tonelli <paul.tonelli@logilab.fr> [Mon, 09 Sep 2013 17:37:30 +0200] rev 1448
[apycotlib] embed a copy of __pkginfo__ in apycotlib
made using a symlink that points to the original __pkginfo__. The apycotlib library can be installed separately from the cube. It must have a possibility to check its version without the cube
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 22 Apr 2014 15:53:30 +0200] rev 1447
[apycotlib] typo
David Douard <david.douard@logilab.fr> [Wed, 07 Aug 2013 17:15:04 +0200] rev 1446
[apycotlib] PyTestChecker's extra_argument should be of 'csv' type instead of 'string'
has this 'string' option type ever been working?
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 22 Apr 2014 15:51:29 +0200] rev 1445
[foldunder] do not fail if pylints imports fail
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 22 Apr 2014 15:49:20 +0200] rev 1444
[test] do not fail if pylint is not available
David Douard <david.douard@logilab.fr> [Wed, 07 Aug 2013 17:17:40 +0200] rev 1443
[test] make sure commits in data/project test hg reop are public,
David Douard <david.douard@logilab.fr> [Wed, 07 Aug 2013 17:16:23 +0200] rev 1442
[recipes] full: do not execute the pylint checker if pylint is unavailable
also remove the pycoverage checker from this recipe since it's been
not working for a while now.
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 06 Aug 2013 09:55:53 +0200] rev 1441
[apycotlib] correct post for sending log archive
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 22 Apr 2014 15:45:16 +0200] rev 1440
[views] use tag_subject_of instead of tag_attribute
execution_log is now a file and not a string attribute
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 08 Nov 2013 16:00:37 +0100] rev 1439
[schema] replace the 'log' by a log_file relation to a File (closes #3241606)
also update tests. As the logs can be big, it is a better idea to handle them using files.
It also makes it easier to download them from cubicweb.
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 22 Apr 2014 15:34:39 +0200] rev 1438
[migration] pep8 + utf-8 header
Paul Tonelli <paul.tonelli@logilab.fr> [Wed, 23 Oct 2013 00:16:48 +0200] rev 1437
[schema] rename log_file to execution_archive (closes #3241605)
the "log_file" (when it exists) contains the archive of the running environment
and not the logs. This commit frees the name "log_file" to be used by real logs in a
commit downstream.
Paul Tonelli <paul.tonelli@logilab.fr> [Wed, 04 Sep 2013 16:48:47 +0200] rev 1436
[apycotlib] only send the difference between actual logs and total logs (closes #3241602)
in refreshlog, used by narval. This enables other connexions to send logs in between
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 20 Aug 2013 18:36:05 +0200] rev 1435
[apycotlib] move registration of checkers in recipes
Paul Tonelli <paul.tonelli@logilab.fr> [Wed, 24 Jul 2013 14:10:35 +0200] rev 1434
[apycotlib] change option names to avoid "." (closes #3024946)
These option names are passed as parameters and parameters cannot contains
dots. The names have been simplified when possible, or . replaced by _ in case
of collision. Also update tests to take these changes into account
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 06 Aug 2013 09:57:26 +0200] rev 1433
[apycotlib] use new http_upload for uploading logs (closes #3241603)
this avoids issues with character encoding and is better for big files.
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 22 Nov 2013 16:30:06 +0100] rev 1432
[apycotlib] add back lintian checker (closes #2925088)
Paul Tonelli <paul.tonelli@logilab.fr> [Fri, 25 Apr 2014 14:50:06 +0200] rev 1431
[view] checkresults tabs and summary are now ordered by creation_date order
Closes #2923618
Paul Tonelli <paul.tonelli@logilab.fr> [Tue, 20 Aug 2013 10:22:39 +0200] rev 1430
[view] display colorized recipe in test report (closes #3241604)
uses pygments (also add dependency). The imported "pygments.css" file is
available in cubicweb.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 20 Aug 2013 16:07:48 +0200] rev 1429
[view] check for tracker cube before using it
Paul Tonelli <paul.tonelli@logilab.fr> [Mon, 07 Oct 2013 11:03:46 +0200] rev 1428
[apycotlib] add ScriptRunner to run custom files as checks, (closes #2882718)
The new checker can be derived to run any file provided the user writes a custom filename_filter method. The method has three parameters and two roles:
- the first parameter (dirpath) is the path being explored;
- the second parameter (dirname) is a list of directory names, the function must remove from the list the directories which should not be explored by os.walk;
- the third parameter (filenames) is a list of files. The user should yield a list of files which should be run by the checker.
This method uses the syntax of os.walk (see python doc).
Add corresponding tests and example recipe.
Paul Tonelli <paul.tonelli@logilab.fr> [Thu, 12 Sep 2013 11:26:26 +0200] rev 1427
[apycotlib] Add git hidden folder name to ignored files.
Paul Tonelli <paul.tonelli@logilab.fr> [Mon, 07 Oct 2013 10:54:39 +0200] rev 1426
[apycotlib] modify AbstractFilteredFileChecker to use os.walk
os.path.walk (previously used) is deprecated in python 3.
This requires to move the file checks in a separate method
David Douard <david.douard@logilab.fr> [Wed, 07 Aug 2013 12:42:44 +0200] rev 1425
[test] kill skipped tests (deprecated now) in unittest_task.py
David Douard <david.douard@logilab.fr> [Wed, 07 Aug 2013 12:41:59 +0200] rev 1424
[test] update to deal with dicts instead of mock entities
This is all client side where we no longer have an orm.
Julien Cristau <julien.cristau@logilab.fr> [Wed, 16 Jan 2013 20:27:33 +0100] rev 1423
[test] ConnectionHandler is now HTTPConnectionHandler
Julien Cristau <julien.cristau@logilab.fr> [Fri, 22 Feb 2013 12:25:44 +0100] rev 1422
Don't enable pyro
The communication between cubicweb and narvalbot is now over http.
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jan 2013 17:40:11 +0100] rev 1421
restore and unittest apycot.recipe.full
Sylvain Thénault <sylvain.thenault@logilab.fr> [Wed, 16 Jan 2013 15:00:07 +0100] rev 1420
[test] reload quick recipe on startup
Julien Cristau <julien.cristau@logilab.fr> [Fri, 25 Apr 2014 15:56:11 +0200] rev 1419
RESTify apycotlib
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Dec 2013 17:54:11 +0100] rev 1319
narval/piuparts: replace @DIST@ with the actual dist in apt repository uris
Julien Cristau <julien.cristau@logilab.fr> [Wed, 18 Dec 2013 16:06:44 +0100] rev 1318
narval: add piuparts checker
Runs after lgp.build, and calls piuparts on all the changes files.
Julien Cristau <julien.cristau@logilab.fr> [Thu, 02 May 2013 12:40:58 +0200] rev 1007
Deal with narval's workflow changes
starttime and endtime are gone, replace them by looking at related
TrInfo entities. The starttime facet is being removed though, hopefully
temporarily.
David Douard <david.douard@logilab.fr> [Tue, 23 Jul 2013 15:12:25 +0200] rev 1006
follow narval v4 API changes (closes #2557390)
- recipes are now simple Python scripts stored in Plan.script,
- no more "arguments" on the Plan CW entity,
- add functional tests.
David Douard <david.douard@logilab.fr> [Wed, 07 Aug 2013 10:46:21 +0200] rev 1005
merge from stable
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Jun 2013 16:55:21 +0200] rev 923
Added tag apycot-debian-version-2.2.7-1 for changeset 00a869904b15
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Jun 2013 16:55:21 +0200] rev 922
Added tag apycot-version-2.2.7 for changeset 7e2fab53d5c8
Julien Cristau <julien.cristau@logilab.fr> [Mon, 10 Jun 2013 16:20:24 +0200] rev 921
2.2.7
Julien Cristau <julien.cristau@logilab.fr> [Thu, 02 May 2013 16:54:45 +0200] rev 920
apycotlib: give a more useful error when a project env has no repository
Replaces
AttributeError: 'NoneType' object has no attribute 'type'
with
Exception: Project environment foo has no repository
Julien Cristau <julien.cristau@logilab.fr> [Wed, 15 May 2013 11:03:37 +0200] rev 916
apycotlib: xml_escape strings before sending them to cw
Otherwise the log can't get displayed properly.
Closes #2883714
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 10:17:44 +0200] rev 898
Added tag apycot-debian-version-2.2.6-1 for changeset f910f2423830
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 10:17:44 +0200] rev 897
Added tag apycot-version-2.2.6 for changeset c727a537bae1
David Douard <david.douard@logilab.fr> [Thu, 02 May 2013 10:17:37 +0200] rev 896
2.2.6
Julien Cristau <julien.cristau@logilab.fr> [Mon, 15 Apr 2013 17:09:39 +0200] rev 895
Brown paper bag fix for StartTestOp operation (closes #2822711)
- need to use DataOperationMixIn for get_instance
- operations have .session, not ._cw
David Douard <david.douard@logilab.fr> [Wed, 10 Apr 2013 11:06:57 +0200] rev 885
Added tag apycot-version-2.2.5, apycot-debian-version-2.2.5-1 for changeset 03c81aef4a70
David Douard <david.douard@logilab.fr> [Tue, 09 Apr 2013 15:11:28 +0200] rev 884
2.2.5
Julien Cristau <julien.cristau@logilab.fr> [Tue, 09 Apr 2013 15:09:54 +0200] rev 883
[views] kill unused import
Julien Cristau <julien.cristau@logilab.fr> [Thu, 31 Jan 2013 14:22:16 +0100] rev 882
[apycotlib] Remove broken handling of C/C++ extensions from the distutils preprocessor
The extensions were being installed to
/tmp/tmpXXXXXX/local/lib/python2.X/site-packages, but INSTALL_PREFIX pretended
it was in /tmp/tmpXXXX/local/lib/python2.X (or /usr/bin/python, if pyversions
happened to return sys.executable). While I'm at it, make pyversions not do
that.
Closes #2683937
David Douard <david.douard@logilab.fr> [Fri, 05 Apr 2013 17:14:52 +0200] rev 881
[views] test presence of jqplot before using it (closes #2345646)
Aurelien Campeas <aurelien.campeas@logilab.fr> [Tue, 12 Mar 2013 19:11:17 +0100] rev 880
views/uicfg: allow to link to an existing repository (closes #2746273)
Julien Cristau <julien.cristau@logilab.fr> [Thu, 21 Mar 2013 12:13:10 +0100] rev 879
Avoid duplicate using_revision relations (closes #2766223)
For some reason sometimes two CheckResultInfo entities with the same
information are created, which causes things to explode.
Julien Cristau <julien.cristau@logilab.fr> [Tue, 12 Mar 2013 16:20:36 +0100] rev 878
hooks: only start tests on new public revisions (closes #2741838)
Tests should be run if
- a new public revision is addded, or
- an existing draft revision is made public.
Use an operation to group both cases, called from two separate hooks.
Julien Cristau <julien.cristau@logilab.fr> [Mon, 11 Mar 2013 18:11:20 +0100] rev 877
apycotlib: restrict hg up to public changesets (closes #2741838)
With vcreview now supporting draft changesets as patches, apycot starts
testing those draft changesets instead of the public heads, wreaking
havoc. As a short term fix, make it not do that (eventually we might
want to actually run unit tests on drafts, just not now).
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 23:11:46 +0100] rev 849
Added tag apycot-debian-version-2.2.4-1 for changeset 0705ec800c17
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 23:11:46 +0100] rev 848
Added tag apycot-version-2.2.4 for changeset ff4868ee734f
David Douard <david.douard@logilab.fr> [Fri, 25 Jan 2013 23:08:52 +0100] rev 847
2.2.4
Sylvain Thénault <sylvain.thenault@logilab.fr> [Tue, 23 Oct 2012 09:19:08 +0200] rev 836
properly use PackageInfo object. Avoid crash because distname ends up being None, closes #2509968
Julien Cristau <julien.cristau@logilab.fr> [Mon, 21 Jan 2013 17:57:48 +0100] rev 834
Set umask to 022 instead of the default 077 (closes #2551840)
When running tests, make sure we generate world-readable files, because:
- checking out a hg repo obeys umask
- distutils sdist uses hard links from the source tree when preparing its
release tree (and thus uses the same permissions)
- distutils sdist doesn't force sane file permissions when it creates a tarball
- we could work around the above by setting TAR_OPTIONS when calling sdist, but
that would only work with python 2.6 because 2.7 uses the tarfile module
instead of forking tar
This should fix issues like https://www.logilab.org/ticket/115578