Lava-test

Latest version: v0.14

Safety actively analyzes 683322 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 3

2011.07

2011-07-20 Zygmunt Krynicki <email address hidden>

Bump version to 0.2

2011-07-20 Paul Larson <email address hidden>

Default add_help to True

2011-06-27 Paul Larson <email address hidden>

Default add_help to True

2011-07-14 Zygmunt Krynicki <email address hidden>

Bump version to 1.1

2011-07-14 Zygmunt Krynicki <email address hidden>

Strip the token read from token file when using add-auth command

2011-07-11 Michael-Doyle Hudson <email address hidden>

python 2.6 compatibility

2011-07-11 Michael-Doyle Hudson <email address hidden>

work on 2.7 too

2011-07-11 Michael-Doyle Hudson <email address hidden>

well, now it works with 2.6, surely broken on 2.7 though

2011-06-23 Zygmunt Krynicki <email address hidden>

Mark python 2.7 as supported

2011-06-23 Zygmunt Krynicki <email address hidden>

Bump version to 0.1

2011-06-23 Zygmunt Krynicki <email address hidden>

Be pip friendly

2011-06-20 Zygmunt Krynicki <email address hidden>

Bump version to 0.1b1

2011-06-19 Zygmunt Krynicki <email address hidden>

Merge cleanup branch.

* Add ExperimentalCommandMixIn
* Discard local copy of mocker
* Fix bug reporting URL
* Fix pep8 issues
* Remove stale news
* Remove unused import

2011-06-17 Zygmunt Krynicki <email address hidden>

Fix bug reporting URL

2011-06-17 Zygmunt Krynicki <email address hidden>

Remove stale news

2011-06-17 Zygmunt Krynicki <email address hidden>

More pep8 fixes

2011-06-17 Zygmunt Krynicki <email address hidden>

Discard local copy of mocker

2011-06-17 Zygmunt Krynicki <email address hidden>

Fix pep8 issues

2011-06-17 Zygmunt Krynicki <email address hidden>

Remove unused import

2011-06-17 Zygmunt Krynicki <email address hidden>

Add ExperimentalCommandMixIn

2011-06-17 Michael-Doyle Hudson <email address hidden>

oops * 2

2011-06-17 Michael-Doyle Hudson <email address hidden>

oops

2011-06-15 Michael-Doyle Hudson <email address hidden>

When accessing and storing tokens in the keyring, use the full URL of the
xml-rpc endpoint as the system name rather than just the hostname.

2011-06-15 Michael-Doyle Hudson <email address hidden>

use syntax sugar pointed out in the review

2011-06-14 Michael-Doyle Hudson <email address hidden>

remove unnecessary code, add a comment

2011-06-14 Michael-Doyle Hudson <email address hidden>

do not pass user@host to HTTPConnection.__init__

2011-06-14 Michael-Doyle Hudson <email address hidden>

test for token use over https and fix test helpers so it passes

2011-06-14 Michael-Doyle Hudson <email address hidden>

tests pass, amazingly

2011-06-14 Michael-Doyle Hudson <email address hidden>

rewrite authtoken tests to be completely out of control but
actually record what we care about: what gets included
in the Authorization header

2011-06-14 Michael-Doyle Hudson <email address hidden>

the fact that this makes the auth command test pass points to a gap in our test coverage, to put it mildly

2011-06-14 Michael-Doyle Hudson <email address hidden>

upgrade tests, most of which now fail

2011-06-10 Michael-Doyle Hudson <email address hidden>

add an auth-add command that stores a token for a particular site in the keyring

2011-06-09 Michael-Doyle Hudson <email address hidden>

report Faults vaguely nicely

2011-06-09 Michael-Doyle Hudson <email address hidden>

don't rely on argparse.FileType due to its poor error reporting
fix tests

2011-06-08 Michael-Doyle Hudson <email address hidden>

oops!

2011-06-08 Michael-Doyle Hudson <email address hidden>

copyright headers

2011-06-08 Michael-Doyle Hudson <email address hidden>

another test

2011-06-08 Michael-Doyle Hudson <email address hidden>

a bunch more tests

2011-06-08 Michael-Doyle Hudson <email address hidden>

test that a check is made, via a mocker bug

2011-06-08 Michael-Doyle Hudson <email address hidden>

test port included

2011-06-08 Michael-Doyle Hudson <email address hidden>

test other ways of supplying token

2011-06-08 Michael-Doyle Hudson <email address hidden>

make test infrastructure a bit more flexible

2011-06-08 Michael-Doyle Hudson <email address hidden>

ah, less details

2011-06-08 Michael-Doyle Hudson <email address hidden>

start testing auth command -- maybe a bit detail specific but oh well

2011-06-08 Michael-Doyle Hudson <email address hidden>

two more tests

2011-06-08 Michael-Doyle Hudson <email address hidden>

start to resurrect tests

2011-06-08 Michael-Doyle Hudson <email address hidden>

depend on keyring

2011-06-08 Michael-Doyle Hudson <email address hidden>

remove some crap

2011-06-08 Michael-Doyle Hudson <email address hidden>

more twiddling

2011-06-08 Michael-Doyle Hudson <email address hidden>

do the token-adding in the transport -- does not end up in tracebacks this way

2011-06-08 Michael-Doyle Hudson <email address hidden>

miscellaneous progress

2011-06-07 Michael-Doyle Hudson <email address hidden>

well this /works/, not very pretty though

2011-06-07 Michael-Doyle Hudson <email address hidden>

merge trunk

2011-06-01 Michael-Doyle Hudson <email address hidden>

add positive test

2011-06-01 Michael-Doyle Hudson <email address hidden>

report an error if a username is supplied but no token is found

2011-06-01 Michael-Doyle Hudson <email address hidden>

merge my LavaCommandError branch

2011-06-01 Michael-Doyle Hudson <email address hidden>

start to refactor for testability, add a test

2011-05-31 Michael-Doyle Hudson <email address hidden>

some wibbling

2011-05-30 Michael-Doyle Hudson <email address hidden>

i think this makes sense for how to have the command line api work

2011-05-30 Michael-Doyle Hudson <email address hidden>

skeletons of the three commands

2011-05-26 Michael-Doyle Hudson <email address hidden>

a brainless start

2011-06-02 Zygmunt Krynicki <email address hidden>

Merge command dispatching improvements from Michael

2011-06-01 Michael-Doyle Hudson <email address hidden>

add LavaCommandError, the raising of which will cause a nice error message to be printed by LavaDispatcher.dispatch()

2011-06-01 Michael-Doyle Hudson <email address hidden>

factor out adding commands to a dispatch and test it

2011-05-05 Michael-Doyle Hudson <email address hidden>

merge branch from zygmunt reducing dependencies somewhat

2011-05-04 Zygmunt Krynicki <email address hidden>

Update INSTALL with more details about how to remove the program and where it
is installed to.

2011-05-04 Zygmunt Krynicki <email address hidden>

Remove install dependency on versiontools

One less dependency needed. Versiontools will be sufficient to have during
setup.py build stage.

2011-05-04 Michael-Doyle Hudson <email address hidden>

remove version command -- hard to get it to do something useful

2011-05-04 Michael-Doyle Hudson <email address hidden>

more renaming, make use as a library easier

2011-05-04 Michael-Doyle Hudson <email address hidden>

allow loading from multiple entry_points sections

2011-05-04 Michael-Doyle Hudson <email address hidden>

ignore distutils stuff

2011-05-04 Michael-Doyle Hudson <email address hidden>

some documentation improvements

2011-05-04 Michael-Doyle Hudson <email address hidden>

fix the tests to cope with removal of dashboard

2011-05-04 Michael-Doyle Hudson <email address hidden>

remove dashboard commands (some of this was in the last commit oops)

2011-05-04 Michael-Doyle Hudson <email address hidden>

fix copyright years

2011-05-04 Michael-Doyle Hudson <email address hidden>

mechanically s/launch-control-tool/lava-tool/g too

2011-05-04 Michael-Doyle Hudson <email address hidden>

mechanically s/launch_control_tool/lava_tool/g

2011-04-29 Zygmunt Krynicki <email address hidden>

Merge improved --help output for several commands

2011-04-29 Zygmunt Krynicki <email address hidden>

Make --help related to dashboard commands and experimental commands better

2011-04-29 Zygmunt Krynicki <email address hidden>

Merge improved user interface for lc-tool pull

2011-04-29 Zygmunt Krynicki <email address hidden>

Rework pull arguments to make --remote-dashboard-url less annoying

2011-04-29 Zygmunt Krynicki <email address hidden>

Merge fix for query-data-view argument handling

2011-04-29 Zygmunt Krynicki <email address hidden>

Make query-data-view arguments without defaults required

2011-04-29 Zygmunt Krynicki <email address hidden>

Merge improvmeents to DataSetRenderer

2011-04-29 Zygmunt Krynicki <email address hidden>

Provide pretty defaults for DataSetRenderer in one place

2011-04-29 Zygmunt Krynicki <email address hidden>

Add support for DataSetRenderer(header_separator=True)

This new optional switch enables a horizontal line that separates column names
from the first row of data.

2011-04-29 Zygmunt Krynicki <email address hidden>

Bump version to 0.5 dev

2011-04-29 Zygmunt Krynicki <email address hidden>

Merge bugfix for pull

2011-04-29 Zygmunt Krynicki <email address hidden>

Fix pull not being able to clone streams that don't yet exist locally

2011-04-28 Zygmunt Krynicki <email address hidden>

Merge 0.4.1 release branch

2011-04-28 Zygmunt Krynicki <email address hidden>

Bump version to 0.4.1 final

2011-04-28 Zygmunt Krynicki <email address hidden>

Add NEWS for 0.4.1 release

2011-04-28 Zygmunt Krynicki <email address hidden>

Treat 0 bytes and None bytes the same

2011-04-28 Zygmunt Krynicki <email address hidden>

Improvements to pull

The UI is now more informative and better oriented. It can use a new feature in
0.4 server series to calculate the amount of data that needs to be synchronized
in each stream. The output is also more consistent and easier to follow.

Another feature is ability to pull from specific bundle stream (or list of
bundle streams). This fixes LP: #752775

2011-04-28 Zygmunt Krynicki <email address hidden>

Display the value of DASHBOARD_URL in --help of certain commands

2011-04-28 Zygmunt Krynicki <email address hidden>

Merge new data view commands

2011-04-11 Zygmunt Krynicki <email address hidden>

Add ExperimentalCommandMixIn and mark pull, data-views and query-data-view as experimental.

2011-04-09 Zygmunt Krynicki <email address hidden>

Add query-data-view command

2011-04-09 Zygmunt Krynicki <email address hidden>

Add data_views command.

Currently it allows to list all data views and display their summary.

2011-04-09 Zygmunt Krynicki <email address hidden>

Fix URL for bug reporting

2011-04-09 Zygmunt Krynicki <email address hidden>

Change LaunchControlDispatcher.dispatch() to allow commands to use reparse_arguments()

2011-04-09 Zygmunt Krynicki <email address hidden>

Add XMLRPCCommand.safety_net()

2011-04-09 Zygmunt Krynicki <email address hidden>

Sort import statements

2011-04-09 Zygmunt Krynicki <email address hidden>

Add Command.reparse_arguments()

2011-04-07 Zygmunt Krynicki <email address hidden>

Bump version to 0.4.1b3

2011-04-07 Zygmunt Krynicki <email address hidden>

Pass dummy stream name when restoring backups

2011-04-07 Zygmunt Krynicki <email address hidden>

Bump version to 0.4.1b2

2011-04-07 Zygmunt Krynicki <email address hidden>

Fix get_epilog() and get_help() when no documentation is available, add tests

2011-04-06 Zygmunt Krynicki <email address hidden>

Bump version to 0.4b1

2011-04-06 Zygmunt Krynicki <email address hidden>

Make pull, make-stream and restore check for required server version

2011-04-06 Zygmunt Krynicki <email address hidden>

Better help description for backup

2011-04-06 Zygmunt Krynicki <email address hidden>

Copy bundle stream name in pull

2011-04-06 Zygmunt Krynicki <email address hidden>

Add support for help epilog for all lc-tool commands.

Epilog is created from the test following ^L

2011-04-06 Zygmunt Krynicki <email address hidden>

Add support for checking for required server version

2011-04-06 Zygmunt Krynicki <email address hidden>

Allow users to specify bundle stream name in make-stream

2011-04-06 Zygmunt Krynicki <email address hidden>

Bump version to 0.4

2011-04-06 Zygmunt Krynicki <email address hidden>

Add pull command to sync data from one place to another

2011-04-06 Zygmunt Krynicki <email address hidden>

Implement make_stream, backup and restore

2011-04-01 Zygmunt Krynicki <email address hidden>

Bump version to 0.3.4

2011-04-01 Zygmunt Krynicki <email address hidden>

Print error messages to stderr

2011-03-01 Zygmunt Krynicki <email address hidden>

Bump version to 0.3.3

2011-03-01 Zygmunt Krynicki <email address hidden>

Specify license in setup.py

2011-03-01 Zygmunt Krynicki <email address hidden>

Refresh dependencies to use released versions

2011-01-26 Zygmunt Krynicki <email address hidden>

Use the more recent versiontools interface

2011-01-04 Zygmunt Krynicki <email address hidden>

Add argparse to install_requires, release 0.3.2

2011-01-03 Zygmunt Krynicki <email address hidden>

Sign packages on upload to pypi

2011-01-03 Zygmunt Krynicki <email address hidden>

Solve chicken-and-egg problem with versiontools and setup

2011-01-03 Zygmunt Krynicki <email address hidden>

Release 0.3

2011-01-03 Zygmunt Krynicki <email address hidden>

Add dependency on versiontools

2010-12-15 Zygmunt Krynicki <email address hidden>

Use entry points to discover subcommands

2010-12-15 Zygmunt Krynicki <email address hidden>

Bump version to 0.3 dev

2010-12-15 Zygmunt Krynicki <email address hidden>

Use entry points to discover subcommands.

This allows us to drop considerable amount of code:
* the SubclassRegistry class and tests
* lc-tool.py script (now turned into a console_script)

This also allows other packages to install commands in lc-tool :-)

2010-12-10 Zygmunt Krynicki <email address hidden>

Dont include the micro version number if it's zero

2010-11-25 Zygmunt Krynicki <email address hidden>

Drop DEP5 copyright file (moved to debian/copyright)

2010-11-25 Zygmunt Krynicki <email address hidden>

Preparations for release:
* fix copyright headers to refer to launch-control-tool
* change setup.py python classifier to 4 - Beta
* change setup.py name to launch-control-tool
* change internal version to 0.2 final

2010-11-16 Zygmunt Krynicki <email address hidden>

Remove MANIFEST.in (no longer needed)

2010-11-16 Zygmunt Krynicki <email address hidden>

Rename setup.py package name to launch_control_tool

2010-11-16 Zygmunt Krynicki <email address hidden>

Reflow setup.py

2010-11-16 Zygmunt Krynicki <email address hidden>

Separate lc-tool from launch-control

2010-11-12 Zygmunt Krynicki <email address hidden>

Note that python-django-openid-auth is required

2010-11-12 Zygmunt Krynicki <email address hidden>

Move openid logging silencer to default_settings.py

2010-10-19 Zygmunt Krynicki <email address hidden>

Use RequestContext on XML-RPC API page.

Without this none of the context variables (for example user) were visible and thus accessing api page would make the user believe that he was not signed in despite doing so earlier.

2010-10-15 Zygmunt Krynicki <email address hidden>

Add test case for xml_rpc_handler

2010-10-15 Zygmunt Krynicki <email address hidden>

Use RequestContext on XML-RPC API page.

Without this none of the context variables (for example user) were visible and
thus accessing api page would make the user believe that he was not signed in
despite doing so earlier.

2010-10-18 Guilherme Salgado <email address hidden>

Switch from password-based login to OpenID

2010-10-15 Guilherme Salgado <email address hidden>

A bunch of tweaks suggested by James and Zygmunt

2010-10-14 Guilherme Salgado <email address hidden>

Drop password login pages (accounts/) and change the CSRF tests to not use the login form.

2010-10-14 Guilherme Salgado <email address hidden>

Do not hard-code the login URL/view in templates -- use a template context processor instead

2010-10-14 Guilherme Salgado <email address hidden>

merge trunk

2010-10-14 Guilherme Salgado <email address hidden>

Add a test for OpenID login

2010-10-13 Guilherme Salgado <email address hidden>

merge trunk

2010-10-08 Guilherme Salgado <email address hidden>

merge trunk

2010-10-06 James Westby <email address hidden>

Add the configuration to use django_openid_auth.

Unfortunately it doesn't override contrib.auth's login view, though
we may be able to work around that.

2010-10-15 Zygmunt Krynicki <email address hidden>

Fix typo in HardwareDevice.description field verbose_name

2010-10-14 Zygmunt Krynicki <email address hidden>

Backport bugfix from 0.2 branch and bump version in trunk

* Backport a bugfix from 0.2 branch
* Bump internal version number to 0.3 dev
* Change HTML template to display "trunk" whever version name used to be

2010-10-14 Zygmunt Krynicki <email address hidden>

Fix fallout from OneToOne -> ForeignKey transition.

Fix DashboardAPI().deserialize() to return error message correctly.
Fix template to display deserialization errors correctly

2010-10-14 Zygmunt Krynicki <email address hidden>

Change internal version to 0.3 dev and make web template show "trunk"

2010-10-14 Zygmunt Krynicki <email address hidden>

Separate xml-rpc, views and miscellaneous tests from last remains of monolithic tests.

2010-10-14 Zygmunt Krynicki <email address hidden>

Merge with trunk

2010-10-13 Zygmunt Krynicki <email address hidden>

Merged move-tests-for-dashbard-api into move-final-tests-code.

2010-10-11 Zygmunt Krynicki <email address hidden>

Separate xml-rpc, views and miscellaneous tests from last remains of monolithic tests.

2010-10-14 Zygmunt Krynicki <email address hidden>

Move tests for DashboardAPI to dedicated module

2010-10-14 Zygmunt Krynicki <email address hidden>

Merge with trunk

2010-10-13 Zygmunt Krynicki <email address hidden>

Merged move-csrf-tests into move-tests-for-dashbard-api.

2010-10-11 Zygmunt Krynicki <email address hidden>

Move dashboard_api tests to separate module.

In addition to API tests I moved some utility code into utils and extracted
unit tests for that utility code into test_client module.

2010-10-14 Zygmunt Krynicki <email address hidden>

Move cross site request forgery tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Merge with trunk

2010-10-12 Zygmunt Krynicki <email address hidden>

Fix PEP8 whitespace

2010-10-11 Zygmunt Krynicki <email address hidden>

Add reference to csrf tests in tests loader list

2010-10-11 Zygmunt Krynicki <email address hidden>

Move CSRF configuration tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Move tests for Attachment model to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Pump conflict resolved

2010-10-13 Zygmunt Krynicki <email address hidden>

Pump conflict resolved

2010-10-13 Zygmunt Krynicki <email address hidden>

Merged move-tests-for-named-attribute-model into move-deserialization-tests.

2010-10-11 Zygmunt Krynicki <email address hidden>

Move unit tests for Attachment model to dedicated module

2010-10-11 Zygmunt Krynicki <email address hidden>

Move tests for TestRun model into a dedicated module

2010-10-11 Zygmunt Krynicki <email address hidden>

Move deserialization unit tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Move tests for NamedAttribute model to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Pump conflict resolved

2010-10-11 Zygmunt Krynicki <email address hidden>

Move tests of NamedAttribute model to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Move tests for TestResult model into a dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Merged move-tests-for-test-model into move-tests-for-test-result-model.

2010-10-11 Zygmunt Krynicki <email address hidden>

Move TestResult tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Move tests for Test model into dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Merge with trunk

2010-10-11 Zygmunt Krynicki <email address hidden>

Move Test (model) tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Move tests for BundleStream model into a dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Merge with trunk

2010-10-11 Zygmunt Krynicki <email address hidden>

Move BundleStream unicode tests to the bundle stream module

2010-10-11 Zygmunt Krynicki <email address hidden>

Move BundleStream tests to dedicated module

2010-10-13 Zygmunt Krynicki <email address hidden>

Merge fix and tests for LP658917.

The issue was caused by bundle with TestResult that had a test_case_id field
but did not have units. The code failed on IntegrityError as TestCase.units
cannot be NULL per schema definition. The solution is to use an empty string
instead.

2010-10-12 Zygmunt Krynicki <email address hidden>

Merge with trunk

2010-10-12 Zygmunt Krynicki <email address hidden>

Write unit tests root cause of LP658917

2010-10-12 Zygmunt Krynicki <email address hidden>

Shorten test data for LP658917 regression tests

2010-10-12 Zygmunt Krynicki <email address hidden>

Fix LP658917 and add regression test.

The issue was caused by bundle with TestResult that had a test_case_id field
but did not have units. The code failed on IntegrityError as TestCase.units
cannot be NULL per schema definition. The solution is to use an empty string
instead.

2010-10-13 Zygmunt Krynicki <email address hidden>

Move tests for Bundle model into dedicated module

2010-10-12 Zygmunt Krynicki <email address hidden>

Add test that got killed by accident. Thanks Deepti!

2010-10-12 Zygmunt Krynicki <email address hidden>

Remove unused import

2010-10-11 Zygmunt Krynicki <email address hidden>

Resolve pump conflict

2010-10-08 Zygmunt Krynicki <email address hidden>

Move bundle deserialization tests to tests.bundle module.

Unlike the rest of deserialization tests those tests are only checking the
surface layer and mock the BundleDeserializer that would normally run so they
belong together with other model tests.

2010-10-08 Zygmunt Krynicki <email address hidden>

Move some bundle tests to dedicated module

2010-10-12 Zygmunt Krynicki <email address hidden>

Move tests for TestCase model to dedicated module

2010-10-11 Zygmunt Krynicki <email address hidden>

Resolve pump conflict

2010-10-08 Zygmunt Krynicki <email address hidden>

Move TestCase model tests to dedicated module

2010-10-12 Zygmunt Krynicki <email address hidden>

Move tests for HardwareDevice model into a dedicated module.

2010-10-11 Zygmunt Krynicki <email address hidden>

Resolve pump conflict

2010-10-08 Zygmunt Krynicki <email address hidden>

Move tests for HardwareDevice model into a dedicated module.

Oh and fix the class name, it used to be called HardwarePackageTestCase

2010-10-12 Zygmunt Krynicki <email address hidden>

Move tests for SoftwarePackage model into a dedicated module.

2010-10-11 Zygmunt Krynicki <email address hidden>

Resolve pump conflict

2010-10-08 Zygmunt Krynicki <email address hidden>

Move tests for SoftwarePackage model into a dedicated module.

In addition to trivial move I also integrated test for unicode method from
another class as it was meant to be.

2010-10-12 Zygmunt Krynicki <email address hidden>

Change dashboard_app.tests test loader code

Remove the old code that imported everything from the test module. Add test
loader that imports each test module explicitly and constructs a test case out
of the contents.

2010-10-11 Zygmunt Krynicki <email address hidden>

Don't call old tests legacy, don't use needless underscores

2010-10-08 Zygmunt Krynicki <email address hidden>

Change dashboard_app.tests test loader code

Remove the old code that imported everything from the test module. Add test
loader that imports each test module explicitly and constructs a test case out
of the contents.

2010-10-11 Zygmunt Krynicki <email address hidden>

Move fixtures to tests package

2010-10-08 Zygmunt Krynicki <email address hidden>

Move fixtures to tests package

2010-10-11 Zygmunt Krynicki <email address hidden>

Move TestClient to tests.utils

2010-10-08 Zygmunt Krynicki <email address hidden>

Move TestClient to tests.utils

2010-10-11 Zygmunt Krynicki <email address hidden>

Prepare for test splitup into separate modules.

This step is fairly simple, all tests are moved to a tests package and __init__
ensures that all old behaviour is kept as is. Test urls are renamed to
'tests.urls' test utils were likewise moved to tests.utils.

There was one required change, tests.tests has one model that is needed for
testing and this model previously belonged to the 'dashboard_app' application.
After moving tests to a dedicated python package I had to update 'app_label' to
make django test runner instantiate appropriate database tables.

2010-10-07 Zygmunt Krynicki <email address hidden>

Prepare for test splitup into separate modules.

This step is fairly simple, all tests are moved to a tests package and __init__
ensures that all old behaviour is kept as is. Test urls are renamed to
'tests.urls' test utils were likewise moved to tests.utils.

There was one required change, tests.tests has one model that is needed for
testing and this model previously belonged to the 'dashboard_app' application.
After moving tests to a dedicated python package I had to update 'app_label' to
make django test runner instantiate appropriate database tables.

2010-10-07 Zygmunt Krynicki <email address hidden>

Bump version to 0.2 final for release

2010-10-07 Zygmunt Krynicki <email address hidden>

Bump the version to 0.2 final

2010-10-07 Zygmunt Krynicki <email address hidden>

Inside DashboardAPI.put() commit current transaction before calling deserialize()

This fixes an error where the bundle instance we just created would be wiped
out by transaction rollback in deserialize failure path

2010-10-07 Zygmunt Krynicki <email address hidden>

Move first call to save() away from try/catch block.

This call should never raise IntegrityError exceptions as it is used to get the
primary key for the bundle and content_sha is not calculated here.

2010-10-07 Zygmunt Krynicki <email address hidden>

Move the call to deserialize away from the try/catch block.

The rationale is that deserialize already handles all exceptions and we don't
want to remove the bundle if the process fails for any reason as we store the
error message _and_ the bundle for inspection.

2010-10-07 Zygmunt Krynicki <email address hidden>

Inside DashboardAPI.put() commit current transaction before calling deserialize()

This fixes an error where the bundle instance we just created would be wiped
out by transaction rollback in deserialize failure path

2010-10-07 Zygmunt Krynicki <email address hidden>

Merge with 0.1 branch after 0.1.1 release

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged lc-tool-DASHBOARD_URL-env into merge-0.1.1.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merge with private development branch

2010-09-28 Zygmunt Krynicki <email address hidden>

Improve local_settings.py.example (better documentation, explicit email settings section)

2010-09-28 Zygmunt Krynicki <email address hidden>

Fix settings.py to allow local_settings.py to define CONFIGURED=True

2010-10-04 Zygmunt Krynicki <email address hidden>

Merge with 0.1 branch

2010-09-30 Zygmunt Krynicki <email address hidden>

Use dashboard_app for version information for setup.py

2010-09-30 Zygmunt Krynicki <email address hidden>

Bump server version to 0.1.1

2010-09-30 Zygmunt Krynicki <email address hidden>

Fix configuration issue that would prevent local_settings from working properly

2010-10-07 Zygmunt Krynicki <email address hidden>

Fix compatibility issues with django 1.1 and document known remaining issues

2010-10-06 Zygmunt Krynicki <email address hidden>

Add reference to issues on django 1.1

2010-10-06 Zygmunt Krynicki <email address hidden>

Skip unit tests that depend on 1.2 CSRF features

2010-10-06 Zygmunt Krynicki <email address hidden>

Fix django 1.1 compatibility issue.

It seems that related object reference (the other end of ForeignKey) in django
1.1 lacks the 'exists()' method so fall back to using count instead.

2010-10-07 Zygmunt Krynicki <email address hidden>

Make lc-tool.py use DASHBOARD_URL environment variable as a default argument to --dashboard-url

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged better-generic-templates into lc-tool-DASHBOARD_URL-env.

2010-10-02 Zygmunt Krynicki <email address hidden>

Add support for passing --dashboard-url via environment variable DASHBOARD_URL

2010-10-07 Zygmunt Krynicki <email address hidden>

Make some improvements to the index and about pages

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged admin-link-in-menu into better-generic-templates.

2010-10-02 Zygmunt Krynicki <email address hidden>

Slight modifications to about.html and base.html (translations and xhtml notice)

2010-10-07 Zygmunt Krynicki <email address hidden>

Add link to the administrator panel for signed in users with super-user flag

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-details into admin-link-in-menu.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-details into admin-link-in-menu.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-details into admin-link-in-menu.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-details into admin-link-in-menu.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-details into admin-link-in-menu.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-details into admin-link-in-menu.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-details into admin-link-in-menu.

2010-10-04 Zygmunt Krynicki <email address hidden>

Change wording from "admin site" to "admin interface"

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-details into admin-link-in-menu.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-details into admin-link-in-menu.

2010-10-02 Zygmunt Krynicki <email address hidden>

Add link to the administration panel for signed in users with super-user flag

2010-10-07 Zygmunt Krynicki <email address hidden>

Improve bundle stream detail view

* list all bundles uploaded to the stream
* display basic information about each bundle
* conform to current layout

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-list into bundle-stream-details.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged fix-test-templates into bundle-stream-list.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged change-unicode-methods into fix-test-templates.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged better-databrowser-pages into change-unicode-methods.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged better-api-page into workaround-django-ticket-10227.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged csrf-fixes into better-api-page.

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-list into bundle-stream-details.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-list into bundle-stream-details.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-list into bundle-stream-details.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-list into bundle-stream-details.

2010-10-05 Zygmunt Krynicki <email address hidden>

Move custom styles to default.css and fix some template details

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-list into bundle-stream-details.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-list into bundle-stream-details.

2010-10-04 Zygmunt Krynicki <email address hidden>

Make sure bundles() xml-rpc API returns bundles in the same order as before.

This patch balances the Meta: ordering change.
Some unit tests depend on the order of the returned bundles.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged bundle-stream-list into bundle-stream-details.

2010-10-02 Zygmunt Krynicki <email address hidden>

Add view for showing bundle stream details

2010-10-07 Zygmunt Krynicki <email address hidden>

Improve and enable bundle stream list view:

* list all streams we can access
* conform to current layout

2010-10-06 Zygmunt Krynicki <email address hidden>

Merged fix-test-templates into bundle-stream-list.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged fix-test-templates into bundle-stream-list.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged fix-test-templates into bundle-stream-list.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged fix-test-templates into bundle-stream-list.

2010-10-04 Zygmunt Krynicki <email address hidden>

Show special link to the admin panel only to staff users.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged fix-test-templates into bundle-stream-list.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged fix-test-templates into bundle-stream-list.

2010-10-02 Zygmunt Krynicki <email address hidden>

Fix breadcrumbs in bundle_stream_list.html

2010-10-02 Zygmunt Krynicki <email address hidden>

Add link to bundle streams to the navigation menu

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged fix-test-templates into bundle-stream-list.

2010-10-02 Zygmunt Krynicki <email address hidden>

Add pretty template for bundle stream list view

2010-10-02 Zygmunt Krynicki <email address hidden>

Improve dashboard_bundle_list view

The view will now report if the user (when signed in) has any personal and team
bundle streams. This can be used to construct better templates.

2010-10-02 Zygmunt Krynicki <email address hidden>

Include all dashboard_app URLs from dashboard_server URLs under /dashboard

2010-10-07 Zygmunt Krynicki <email address hidden>

Make dashboard_app tests independent from the project they are in.

Isolate all test cases that depend on template rendering to use only templates
from the application directory (which are empty and will not depend on project
elements). The idea for implementation is taken from
django.contrib.auth.tests.views

I added two new classes:
* DashboardViewsTestCase - for testing regular views
* DashboardXMLRPCViewsTestCase - for testing XML-RPC views

They are loosely based on older DashboardViewTestCase and DashboardAPITestCase
respectively.

As a positive side effect we can purge the mess from dashboard_app.test_urls
where we used to mimic dashboard_server.urls.

2010-10-06 Zygmunt Krynicki <email address hidden>

Fix csrf tests not to isolate from the project environment.

Tests were failing because of missing reverse URL loopkups

2010-10-05 Zygmunt Krynicki <email address hidden>

pump conflict resolved

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged better-databrowser-pages into change-unicode-methods.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged better-api-page into workaround-django-ticket-10227.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged csrf-fixes into better-api-page.

2010-10-05 Zygmunt Krynicki <email address hidden>

Commit after pump

2010-10-05 Zygmunt Krynicki <email address hidden>

Merge pump

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged better-api-page into workaround-django-ticket-10227.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged csrf-fixes into better-api-page.

2010-10-05 Zygmunt Krynicki <email address hidden>

Merged change-unicode-methods into fix-test-templates.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged change-unicode-methods into fix-test-templates.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged change-unicode-methods into fix-test-templates.

2010-10-02 Zygmunt Krynicki <email address hidden>

Make dashboard_app tests independent from the project they are in.

Isolate all test cases that depend on template rendering to use only templates
from the application directory (which are empty and will not depend on project
elements). The idea for implementation is taken from
django.contrib.auth.tests.views

I added two new classes:
* DashboardViewsTestCase - for testing regular views
* DashboardXMLRPCViewsTestCase - for testing XML-RPC views

They are loosely based on older DashboardViewTestCase and DashboardAPITestCase
respectively.

As a positive side effect we can purge the mess from dashboard_app.test_urls
where we used to mimic dashboard_server.urls.

2010-10-07 Zygmunt Krynicki <email address hidden>

Change __unicode__() methods on all dashboard_app models to look better in data browser

2010-10-05 Zygmunt Krynicki <email address hidden>

Add tests for all unicode methods

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged better-databrowser-pages into change-unicode-methods.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged better-api-page into workaround-django-ticket-10227.

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged csrf-fixes into better-api-page.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged better-databrowser-pages into change-unicode-methods.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged workaround-django-ticket-10227 into better-databrowser-pages.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged better-api-page into workaround-django-ticket-10227.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged csrf-fixes into better-api-page.

2010-10-02 Zygmunt Krynicki <email address hidden>

Change __unicode__() methods on all models not to include model name.

This makes the data browser much more user friendly as previously each page had
ugly-looking double names like "bundle stream bundle stream foo"

2010-10-07 Zygmunt Krynicki <email address hidden>

Add custom templates for the data browser to match current layout

2010-10-02 Zygmunt Krynicki <email address hidden>

Add custom databrowse templates.

With those templates all views are integrated and work well with the rest of
the site. In addition the breadcrumbs are now working properly and are
integrated between the two applications.

2010-10-07 Zygmunt Krynicki <email address hidden>

Add a work around for django ticket 10227

This makes the data browser not crash on the Bundle model when there are no BundleDeserializationError instances. It does so by dropping OneToOne field and using unique ForeignKey field.

2010-10-02 Zygmunt Krynicki <email address hidden>

Update BundleDeserializationError unit tests after previous change

2010-10-02 Zygmunt Krynicki <email address hidden>

Change BundleDeserializationError.bundle to be a ForeignKey relation.

This works around django issue where OneToOneField behaves asymmetrically
(raising DoesNotExist from one side and returning None from another).

Unfortunately this behaviour caused databrowse application to crash when
accessing most important model we have, the bundle. As a workaround we use an
unique ForeignKey and change the API a little bit to account for the extra
get() all required.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged csrf-fixes into better-api-page.

2010-10-07 Zygmunt Krynicki <email address hidden>

Improve the API page by adding example python code and links in the sidebar

2010-10-02 Zygmunt Krynicki <email address hidden>

Improve XML-RPC API help page.

The sidebar contains a list of functions that link to anchors in the page. The
page has an example python code that can interact with the server. The view
exposes dashboard URL (the full URL of the website) using 'sites' application.
Administrators need to configure correct site for the values to make sense.

2010-10-06 Zygmunt Krynicki <email address hidden>

Fix CSRF middleware configuration for 1.2

2010-10-05 Zygmunt Krynicki <email address hidden>

Fix CSRF test by calling super.setUp() Thanks James!

2010-10-05 Zygmunt Krynicki <email address hidden>

Add tests for CSRF middleware configuration

2010-10-04 Zygmunt Krynicki <email address hidden>

Add test for cross site request forgery token on login page

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged configuration-fixes into csrf-fixes.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged configuration-fixes into csrf-fixes.

2010-10-02 Zygmunt Krynicki <email address hidden>

Add cross-site request forgery excempt for xml-rpc handler

2010-10-02 Zygmunt Krynicki <email address hidden>

Use full CsrfMiddleware instead of Csrf{View,Response}Middleware.

Without this change 1.2.x login support is broken. I must have tested a wrong
combination previously as the values used could not have worked on 1.2.

2010-10-06 Zygmunt Krynicki <email address hidden>

Fix development environment configuration to redirect back to /

2010-10-04 Zygmunt Krynicki <email address hidden>

Merged layout-changes into configuration-fixes.

2010-10-02 Zygmunt Krynicki <email address hidden>

Merged layout-changes into configuration-fixes.

2010-10-02 Zygmunt Krynicki <email address hidden>

Set LOGIN_REDIRECT_URL to / for development environment.

Without this change the default value (from default_settings.py) is /dashboard/
which causes a redirect to inexisting page.

2010-10-06 Zygmunt Krynicki <email address hidden>

Make some HTML layout changes:

* The navigation bar is redesigned
* Beneath it there is a new breadcrumbs bar
* There is a new sidebar for putting context information.

In addition there are multiple CSS fixes for cross-browser support (firefox 3/4, chrome, opera) and graceful fallback (IE)

2010-10-04 Zygmunt Krynicki <email address hidden>

Prefer Ubuntu to UbuntuBeta font

2010-10-04 Zygmunt Krynicki <email address hidden>

Remove duplicate font-weight: bold;

2010-10-02 Zygmunt Krynicki <email address hidden>

Add <meta> tag specifying the encoding

2010-10-02 Zygmunt Krynicki <email address hidden>

Remove uneeded <div>

2010-10-02 Zygmunt Krynicki <email address hidden>

Add sidebar and breadcrumbs to layout.

Breadcrumbs facilitate site navigation and easily convey current location as
well as the path taken to reach it. Sidebar offers context information that
enhances them main content.

2010-09-30 Zygmunt Krynicki <email address hidden>

Improve local_settings.py.example (more documentation)

2010-09-28 Zygmunt Krynicki <email address hidden>

Improve local_settings.py.example (better documentation, explicit email settings section)

2010-09-30 Zygmunt Krynicki <email address hidden>

Add cross-site request forgery protections

2010-09-28 Zygmunt Krynicki <email address hidden>

Make cross-site request forgery protection work for both django 1.1 and 1.2

2010-09-28 Zygmunt Krynicki <email address hidden>

Enable CSRF middleware and use it in all password forms

2010-09-30 Zygmunt Krynicki <email address hidden>

Add user authentication support for web UI:

Implements 5 (Add support for user sign-in)
Implements 19 (Add /login view that allows the users to log in)
Implements 20 (Add /logout view)
Implements 18 (Display currently signed user in the page header)

2010-09-28 Zygmunt Krynicki <email address hidden>

Change default LOGIN_REDIRECT_URL to /dashboard/ to match default apache.conf, keep old default for unconfigured deployments.

2010-09-28 Zygmunt Krynicki <email address hidden>

Update dashbaord_app/test_urls.py so that authentication references in our templates don't blow up during testing. Thanks James!

2010-09-28 Zygmunt Krynicki <email address hidden>

Add support for user sign-in, password reset by email and password change

2010-09-28 Zygmunt Krynicki <email address hidden>

Fix typo in docstring

2010-09-28 Zygmunt Krynicki <email address hidden>

Bump dashboard app version to 0.2 dev

2010-09-30 Zygmunt Krynicki <email address hidden>

Merge configuration fixes from 0.1 branch

2010-09-30 Zygmunt Krynicki <email address hidden>

Improved installation instructions

2010-09-29 Zygmunt Krynicki <email address hidden>

Fix typo

2010-09-29 Zygmunt Krynicki <email address hidden>

Rework configuration so that it's easier to get started

2010-09-28 Zygmunt Krynicki <email address hidden>

Fix settings.py to allow local_settings.py to define CONFIGURED=True

Cherry-picked from trunk

2010-09-23 Zygmunt Krynicki <email address hidden>

Fix default apache deployment so that static assets work

2010-09-23 Zygmunt Krynicki <email address hidden>

Move static content to assets directory and add relevant apache rules to make it work

2010-09-23 Zygmunt Krynicki <email address hidden>

Add note to INSTALL about necessity of creating the fist bundle stream manually

2010-09-23 Zygmunt Krynicki <email address hidden>

Add note about need to create bundle stream to use the dashboard from XML-RPC interface

2010-09-23 Zygmunt Krynicki <email address hidden>

Fix bug in lc-tool.py that would strip the path of the provided dashboard URL

2010-09-23 Zygmunt Krynicki <email address hidden>

Fix path handling in XMLRPCCommand and add unit tests

2010-09-22 Zygmunt Krynicki <email address hidden>

Preserve path of the dashboard URL in all lc-tool commands.

This allows to install the dashboard on a sub-location such as:
http://suxx.pl/dashboard/ and still make use of the XML-RPC interface
which is located at http://suxx.pl/dashboard/xml-rpc/

2010-09-23 Zygmunt Krynicki <email address hidden>

Add transaction management around bundle deserialization

2010-09-23 Zygmunt Krynicki <email address hidden>

Fix test suite failure on lucid where sqlite does not have a native uuid type

2010-09-23 Zygmunt Krynicki <email address hidden>

Recover lost TestConstructionTestCase

2010-09-23 Zygmunt Krynicki <email address hidden>

Simplify transaction handling and add unit tests for DeserializationHelper

2010-09-22 Zygmunt Krynicki <email address hidden>

Use a transaction inside deserialization helper call

This prevents leftovers from littering the database when the deserialization fails somewhere in the middle.

2010-09-23 Zygmunt Krynicki <email address hidden>

Add deployment instructions

Implements 9 (Deployment instructions needed)

2010-09-23 Zygmunt Krynicki <email address hidden>

Fix typo and inconsistent sudo usage in INSTALL

2010-09-23 Zygmunt Krynicki <email address hidden>

Fix broken indentation in apache.conf

2010-09-23 Zygmunt Krynicki <email address hidden>

Updated source URL in installation instructions

2010-09-23 Zygmunt Krynicki <email address hidden>

Updated installation instructions with additional notes about manual configuration steps

2010-09-22 Zygmunt Krynicki <email address hidden>

Add information on how to report bugs

2010-09-22 Zygmunt Krynicki <email address hidden>

Add deployment instructions

2010-09-23 Zygmunt Krynicki <email address hidden>

Set server and client version to 0.1

2010-09-23 Zygmunt Krynicki <email address hidden>

Change version to 0.1 final

2010-09-23 Zygmunt Krynicki <email address hidden>

Merge new frontend

2010-09-23 Zygmunt Krynicki <email address hidden>

List all possible test results in about.html

2010-09-23 Zygmunt Krynicki <email address hidden>

Fix typo

2010-09-23 Zygmunt Krynicki <email address hidden>

Minor whiespace change

2010-09-23 Zygmunt Krynicki <email address hidden>

Add get_media_url tag to get around databrowse's inability to use RequestContext which holds MEDIA_URL

2010-09-23 Zygmunt Krynicki <email address hidden>

Fix tests after URL changes

2010-09-23 Zygmunt Krynicki <email address hidden>

Update ignore file

2010-09-23 Zygmunt Krynicki <email address hidden>

Add a copy of the JSON schema

2010-09-23 Zygmunt Krynicki <email address hidden>

Update frontend for 0.1 release

2010-09-22 Zygmunt Krynicki <email address hidden>

Cosmetic improvements:

* bundle deserialization failure stores a traceback
* deseralization errors are browsable via /databrowse/
* TestResult have __unicode__() method

2010-09-22 Zygmunt Krynicki <email address hidden>

Apply some cosmetic changes prior to 0.1 release

2010-09-22 Zygmunt Krynicki <email address hidden>

Better NamedAttribute.__unicode__() method

2010-09-22 Zygmunt Krynicki <email address hidden>

Add __unicode__ to TestResult model

2010-09-22 Zygmunt Krynicki <email address hidden>

PEP-8 Whitespace

2010-09-22 Zygmunt Krynicki <email address hidden>

Add BundleDeserializationError to databrowser

2010-09-22 Zygmunt Krynicki <email address hidden>

Store python traceback on import error

2010-09-22 Zygmunt Krynicki <email address hidden>

Add licenses to all source files and DEP-5 COPYING file

Closes 28 (Licensing not specified)

2010-09-22 Zygmunt Krynicki <email address hidden>

Change file headers to refer to version 3 of the license, not 3 or any later version

2010-09-22 Zygmunt Krynicki <email address hidden>

Use uppercase 'C' in Copyright (C)

2010-09-22 Zygmunt Krynicki <email address hidden>

Change "Linaro" to "Linaro Limited" per lool's advice

2010-09-22 Zygmunt Krynicki <email address hidden>

Move AGPL and LGPL to separate files
Change from "Linaro Organization" to "Linaro Limited" per lool's advice

2010-09-22 Zygmunt Krynicki <email address hidden>

Add license header to each file

2010-09-22 Zygmunt Krynicki <email address hidden>

Add COPYING file

2010-09-22 Zygmunt Krynicki <email address hidden>

Add support for storing deserialized bundle in the database

Implements 30 (API for storing in-memory model to the database)

2010-09-22 Zygmunt Krynicki <email address hidden>

Whitespace changes

2010-09-22 Zygmunt Krynicki <email address hidden>

Rework deserializer tests

2010-09-21 Zygmunt Krynicki <email address hidden>

Do away with crazy lisp-like test code and convert Test and TestCase deserialization tests into regular methods

2010-09-21 Zygmunt Krynicki <email address hidden>

Make deserialization from memory to db work correctly

2010-09-21 Zygmunt Krynicki <email address hidden>

Add units property to TestCase

2010-09-19 Zygmunt Krynicki <email address hidden>

Add initial code for converting memory model to db model

2010-09-21 Zygmunt Krynicki <email address hidden>

Add tests for json-to-memory deserialization failures

2010-09-19 Zygmunt Krynicki <email address hidden>

Add test for invalid timedelta values

2010-09-17 Zygmunt Krynicki <email address hidden>

Add some test for decoder failure

2010-09-17 Zygmunt Krynicki <email address hidden>

Guard uuid.UUID constructor against invalid argument type and raise TypeError

It seems that UUID.uuid() blindly assumes it's going to get a string.
Since we're not sure how broken it can get let's check argument type
before calling.

2010-09-17 Zygmunt Krynicki <email address hidden>

Raise TypeError inside ValueError if decoded object is not of expected type

2010-09-17 Zygmunt Krynicki <email address hidden>

Add ability to chain exceptions to DocumentError

2010-09-17 Zygmunt Krynicki <email address hidden>

Add test case for TestRun attributes

2010-09-17 Zygmunt Krynicki <email address hidden>

Added test case for test run attachments

2010-09-17 Zygmunt Krynicki <email address hidden>

Update unit tests to match fixes in TestRun and DashboardBundle

2010-09-17 Zygmunt Krynicki <email address hidden>

Change TestRun to require test_id, test_results, analyzer_assigned_uuid and analyzer_assigned_date

Creating values without those fields is pointless and should be disallowed

2010-09-17 Zygmunt Krynicki <email address hidden>

Change (clientside) DashboardBundle to require current value of format

2010-09-17 Zygmunt Krynicki <email address hidden>

Add tests for parsing TestResult

2010-09-17 Zygmunt Krynicki <email address hidden>

Parse all numbers as decimals

2010-09-17 Zygmunt Krynicki <email address hidden>

Allow undefined test_case_id when deserializing TestResult

2010-09-17 Zygmunt Krynicki <email address hidden>

Add test for HardwareDevice.attributes parsin

2010-09-17 Zygmunt Krynicki <email address hidden>

Add test for parsing HardwareDevice

2010-09-17 Zygmunt Krynicki <email address hidden>

Update test suite to reflect recent fix to SoftwareImage attribute being called 'desc' vs 'name'

According to the spec (1.0) it should be desc

2010-09-17 Zygmunt Krynicki <email address hidden>

Add test for software package parsing and for hardware context defaults

2010-09-17 Zygmunt Krynicki <email address hidden>

SoftwareImage should fail to construct without 'desc' argument

2010-09-17 Zygmunt Krynicki <email address hidden>

Do not tests for defaults, this should fail

2010-09-17 Zygmunt Krynicki <email address hidden>

Add more deserialization tests and fix SoftwareImage class to conform to 1.0 spec

2010-09-17 Zygmunt Krynicki <email address hidden>

Change launch_control.models.TestRun so that analyzer_assigned_uuid and _date default to None

2010-09-17 Zygmunt Krynicki <email address hidden>

Much better tests for BundleDeserializer

Tests are based around test scenarios and just one test method.
Each scenario has three variables: json_text, selectors and validators.
json_text contains the whole text of the bundle to deserialize.
selectors is a dictionary of variable name to lambda mapping. Each lambda is
called with the deserialized object and the result of the computation is stored
as attribute. Finally validators is an array of lambdas, each lambda is called
with self (the test object) and object created by running all selectors.

The design allows for tight coupling of json_text and tests (using
self.assertXXX). Selectors allow to shorten attribute traversal as something
deeply nested can be 'selected' just once.

2010-09-17 Zygmunt Krynicki <email address hidden>

open and close FileField objects to avoid situations where we assume it was opened before

2010-09-17 Zygmunt Krynicki <email address hidden>

Add new deserialize() method for testing period during which deserializer is not really working very well

2010-09-17 Zygmunt Krynicki <email address hidden>

Deserialize bundles on upload

2010-09-17 Zygmunt Krynicki <email address hidden>

Add deserialization helper

refs 26 (Make it possible to import bundles into the database)

2010-09-21 Zygmunt Krynicki <email address hidden>

Add one-half of the deserialization logic (from JSON to memory).

Some changes spill to related components (clientside models) as a side effect of additional review and extra checks

2010-09-17 Zygmunt Krynicki <email address hidden>

Add test case for TestRun attributes

2010-09-17 Zygmunt Krynicki <email address hidden>

Added test case for test run attachments

2010-09-17 Zygmunt Krynicki <email address hidden>

Update unit tests to match fixes in TestRun and DashboardBundle

2010-09-17 Zygmunt Krynicki <email address hidden>

Change TestRun to require test_id, test_results, analyzer_assigned_uuid and analyzer_assigned_date

Creating values without those fields is pointless and should be disallowed

2010-09-17 Zygmunt Krynicki <email address hidden>

Change (clientside) DashboardBundle to require current value of format

2010-09-17 Zygmunt Krynicki <email address hidden>

Add tests for parsing TestResult

2010-09-17 Zygmunt Krynicki <email address hidden>

Parse all numbers as decimals

2010-09-17 Zygmunt Krynicki <email address hidden>

Allow undefined test_case_id when deserializing TestResult

2010-09-17 Zygmunt Krynicki <email address hidden>

Add test for HardwareDevice.attributes parsin

2010-09-17 Zygmunt Krynicki <email address hidden>

Add test for parsing HardwareDevice

2010-09-17 Zygmunt Krynicki <email address hidden>

Update test suite to reflect recent fix to SoftwareImage attribute being called 'desc' vs 'name'

According to the spec (1.0) it should be desc

2010-09-17 Zygmunt Krynicki <email address hidden>

Add test for software package parsing and for hardware context defaults

2010-09-17 Zygmunt Krynicki <email address hidden>

SoftwareImage should fail to construct without 'desc' argument

2010-09-17 Zygmunt Krynicki <email address hidden>

Do not tests for defaults, this should fail

2010-09-17 Zygmunt Krynicki <email address hidden>

Add more deserialization tests and fix SoftwareImage class to conform to 1.0 spec

2010-09-17 Zygmunt Krynicki <email address hidden>

Change launch_control.models.TestRun so that analyzer_assigned_uuid and _date default to None

2010-09-17 Zygmunt Krynicki <email address hidden>

Much better tests for BundleDeserializer

Tests are based around test scenarios and just one test method.
Each scenario has three variables: json_text, selectors and validators.
json_text contains the whole text of the bundle to deserialize.
selectors is a dictionary of variable name to lambda mapping. Each lambda is
called with the deserialized object and the result of the computation is stored
as attribute. Finally validators is an array of lambdas, each lambda is called
with self (the test object) and object created by running all selectors.

The design allows for tight coupling of json_text and tests (using
self.assertXXX). Selectors allow to shorten attribute traversal as something
deeply nested can be 'selected' just once.

2010-09-17 Zygmunt Krynicki <email address hidden>

open and close FileField objects to avoid situations where we assume it was opened before

2010-09-17 Zygmunt Krynicki <email address hidden>

Add new deserialize() method for testing period during which deserializer is not really working very well

2010-09-17 Zygmunt Krynicki <email address hidden>

Deserialize bundles on upload

2010-09-17 Zygmunt Krynicki <email address hidden>

Add deserialization helper

refs 26 (Make it possible to import bundles into the database)

2010-09-16 Zygmunt Krynicki <email address hidden>

Merge BundleDeserializationError model and improved fixtures

Implements 23 (Add BundleDeserializationError model)

2010-09-16 Zygmunt Krynicki <email address hidden>

Use constants instead of magic strings for anonymous/team/private BundleStreams

2010-09-16 Zygmunt Krynicki <email address hidden>

Fix mocker comment

2010-09-15 Zygmunt Krynicki <email address hidden>

Add comment to mysterious mocker usage

2010-09-15 Zygmunt Krynicki <email address hidden>

Fix Bundle.deserialize() to remove old errors on success, add unit tests to check this

2010-09-15 Zygmunt Krynicki <email address hidden>

Add BundleDeserializationError class with unit tests and admin panel components.

This class is used by Bundle.deserialize() to store any deserialization issues

2010-09-15 Zygmunt Krynicki <email address hidden>

Add fixtures.create_bundle(), refactor remaining fixtures

2010-09-16 Zygmunt Krynicki <email address hidden>

Merge TestResult model

Implements 7 (TestResult model needed)

2010-09-16 Zygmunt Krynicki <email address hidden>

Fix microseconds-to-duration translation in TestResult and add unit tests to check that

2010-09-14 Zygmunt Krynicki <email address hidden>

Add test result model

2010-09-15 Zygmunt Krynicki <email address hidden>

Merge databrowse support

References 24 (Add basic views for looking at data)

2010-09-14 Zygmunt Krynicki <email address hidden>

Add django.contrib.databrowse support

2010-09-14 Zygmunt Krynicki <email address hidden>

Fix typo in error message

2010-09-14 Zygmunt Krynicki <email address hidden>

Fix docstring for fixtures.created_bundles()

2010-09-14 Zygmunt Krynicki <email address hidden>

Add TestRun model with unit tests and admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

Improved TestCase.__unicode__ method

2010-09-14 Zygmunt Krynicki <email address hidden>

Add TestCase to admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

Addd TestCase model, manager and unit tests

2010-09-15 Zygmunt Krynicki <email address hidden>

Merge TestRun model

Implements 13 (TestRun model needed)

2010-09-15 Zygmunt Krynicki <email address hidden>

Remove tests of TestCaseManager, they got in by rebase going wrong

2010-09-15 Zygmunt Krynicki <email address hidden>

Refer to forward model by string

2010-09-15 Zygmunt Krynicki <email address hidden>

Add generic relation TestRun.attachments to Attachment

2010-09-15 Zygmunt Krynicki <email address hidden>

Split AttachmentTestCase into more specific tests

2010-09-15 Zygmunt Krynicki <email address hidden>

Remove copy-paste issue in certain docstring

2010-09-15 Zygmunt Krynicki <email address hidden>

Rework TestRunAttachment into generic Attachment model, add unit tests

2010-09-14 Zygmunt Krynicki <email address hidden>

Fix typo in error message

2010-09-14 Zygmunt Krynicki <email address hidden>

Fix docstring for fixtures.created_bundles()

2010-09-14 Zygmunt Krynicki <email address hidden>

Add TestRun model with unit tests and admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

Improved TestCase.__unicode__ method

2010-09-14 Zygmunt Krynicki <email address hidden>

Add TestCase to admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

Addd TestCase model, manager and unit tests

2010-09-15 Zygmunt Krynicki <email address hidden>

Merge TestCase model

Implements 6 (TestCase model needed)

2010-09-15 Zygmunt Krynicki <email address hidden>

Drop TestCaseManager with custom get_or_create()

2010-09-14 Zygmunt Krynicki <email address hidden>

Improved TestCase.__unicode__ method

2010-09-14 Zygmunt Krynicki <email address hidden>

Add TestCase to admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

Addd TestCase model, manager and unit tests

2010-09-15 Zygmunt Krynicki <email address hidden>

Merge Test model

Implements 14 (Test model needed)

2010-09-15 Zygmunt Krynicki <email address hidden>

Remove model manager feature that generates Test.name when creating instances via get_or_create()

2010-09-14 Zygmunt Krynicki <email address hidden>

Add Test.__unicode__ method

2010-09-14 Zygmunt Krynicki <email address hidden>

Add Test to admin panel

2010-09-14 Zygmunt Krynicki <email address hidden>

Add some more tests in Test construction tests

2010-09-14 Zygmunt Krynicki <email address hidden>

Fix Test.name.verbose_name (copy paste issue)

2010-09-14 Zygmunt Krynicki <email address hidden>

Add Test model.

This model represents collections of test cases.

2010-09-14 Zygmunt Krynicki <email address hidden>

Merge bundle stream views

Implements 1 (List view for BundleStream)
Implements 2 (Detail view for BundleStream)

2010-09-14 Zygmunt Krynicki <email address hidden>

Use get_or_create to not cause duplicate errors in test class setup function

2010-09-14 Zygmunt Krynicki <email address hidden>

Fix test class inheritance, thanks Paul!

2010-09-13 Zygmunt Krynicki <email address hidden>

Make auth_test view only visible while testing, improve TestClient misconfiguration

2010-09-13 Zygmunt Krynicki <email address hidden>

Add tests for views.bundle_stream_detail() with one bug fix they helped to find

2010-09-13 Zygmunt Krynicki <email address hidden>

Add fixtures.make_bundle_stream and adapt fixtures.created_bundle_streams

2010-09-13 Zygmunt Krynicki <email address hidden>

Redo test authentication not to use explicit credentials any longer

Courtesy of James Westby.

2010-09-13 Zygmunt Krynicki <email address hidden>

Add test cases for views.bundle_stream_list and fix bug in the original code

2010-09-09 Zygmunt Krynicki <email address hidden>

Fix BundleStream.can_upload() (missing argument)

2010-09-09 Zygmunt Krynicki <email address hidden>

Add templates for bundle stream list and bundle stream details

2010-09-09 Zygmunt Krynicki <email address hidden>

Extend the list.html template to include a dedicated block when there is nothing to show

2010-09-09 Zygmunt Krynicki <email address hidden>

Update dashboard_app.urls and lc-server.urls, hook new views

2010-09-09 Zygmunt Krynicki <email address hidden>

Add views bundle_stream_list() and bundle_stream_detail()

2010-09-10 Zygmunt Krynicki <email address hidden>

Improve DashboardStream authorization API and unit tests

2010-09-10 Zygmunt Krynicki <email address hidden>

Fix copy-paste erorr

2010-09-10 Zygmunt Krynicki <email address hidden>

Drop unnecessary parentheses

2010-09-10 Zygmunt Krynicki <email address hidden>

Better test names for can_access() which used to be can_upload()

2010-09-10 Zygmunt Krynicki <email address hidden>

Add tests for BundleStreamManager.allowed_for_user()

2010-09-10 Zygmunt Krynicki <email address hidden>

Add tests for BundleStreamManager.allowed_for_anyone()

2010-09-10 Zygmunt Krynicki <email address hidden>

Make DashboardAPI().streams() use new model manager methods

2010-09-10 Zygmunt Krynicki <email address hidden>

Move BundleStream.get_allowed_for_user() to BundleStreamManager.allowed_for_user()

2010-09-10 Zygmunt Krynicki <email address hidden>

Cherry-pick bundle stream access changes from stable.bundle-views

2010-09-09 Zygmunt Krynicki <email address hidden>

Add BundleStream().can_access(user) and BundleStream.get_allowed_for_user(user)

Those methods capture all the access control logic hence will be easier to test and reuse.

2010-09-10 Zygmunt Krynicki <email address hidden>

Merge packaging changes. Drop native debian package. provide working setup.py

2010-09-09 Zygmunt Krynicki <email address hidden>

Rework packaging to actually work this time

2010-09-09 Zygmunt Krynicki <email address hidden>

Separate dashboard_app from launch_control and rename lc-server to dashboard_server

2010-09-09 Zygmunt Krynicki <email address hidden>

Remove .bzr-builddeb (again, not a native package)

2010-09-09 Zygmunt Krynicki <email address hidden>

Remove debian directory (this will not be a native debian package)

2010-09-10 Zygmunt Krynicki <email address hidden>

Remove some old code and bits that moved to abrek

2010-09-09 Zygmunt Krynicki <email address hidden>

Remove old code (samples, sw_profile, old json stack, test cases for that)

2010-09-10 Zygmunt Krynicki <email address hidden>

Merge DashboardAPI().bundles() fixes

2010-09-09 Zygmunt Krynicki <email address hidden>

Fix implementation of DashboardAPI().bundles()

The previous implementation did not raise NOT_FOUND or FORBIDDEN as documented.
One test case that previously worked was removed (listing bundles in inexistent
stream silently returned empty list). New test case for all failure conditions
was also added.

2010-09-10 Zygmunt Krynicki <email address hidden>

Merge DashboardAPI().{get,put,bundles,streams}() and corresponding client-side commands

2010-09-09 Zygmunt Krynicki <email address hidden>

Allow DashboardAPI().streams() to see private streams of the owner and public streams

2010-09-09 Zygmunt Krynicki <email address hidden>

Redirect lc-tool.py get errors to stderr

2010-09-09 Zygmunt Krynicki <email address hidden>

Merged test scenario improvements from James

I added a test case that scenarios indeed work as we expect (that the database is empty).
I also removed the now-unnecessary code from fixtures.create_xxx

2010-09-09 Zygmunt Krynicki <email address hidden>

Simplify fixtures not to remove most of the resources it has created.

This is no longer necessary because scenarios no longer interfere with django
database magic. The only resources that are still managed are model instances
with FileField fields.

2010-09-09 Zygmunt Krynicki <email address hidden>

Add test case that makes sure the database is empty even when using scenarios

2010-09-08 James Westby <email address hidden>

Use testscenarios rather than a custom scenarios decorator.

2010-09-08 Zygmunt Krynicki <email address hidden>

Update tests to reflect the fact that dispatcher now exits the python interpreter after running a command

2010-09-08 Zygmunt Krynicki <email address hidden>

Use abs() instead of if statement

2010-09-08 Zygmunt Krynicki <email address hidden>

Fix typo in comment

2010-09-08 Zygmunt Krynicki <email address hidden>

Use "number of bundles" instead of "bundles #"

2010-09-08 Zygmunt Krynicki <email address hidden>

Whitespace fix

2010-09-08 Zygmunt Krynicki <email address hidden>

Remove debugging print statement from admin panel

2010-09-08 Zygmunt Krynicki <email address hidden>

Change output of lc-tool.py put

2010-09-08 Zygmunt Krynicki <email address hidden>

Allow commands to return error codes on error

2010-09-08 Zygmunt Krynicki <email address hidden>

Print error messages to stderr

2010-09-08 Zygmunt Krynicki <email address hidden>

Remove support for --user and --password from XMLRPC commands, drop default location

2010-09-08 Zygmunt Krynicki <email address hidden>

Make default row_formatter None

2010-09-08 Zygmunt Krynicki <email address hidden>

Fix inaccurate comment from the dev branch

2010-09-07 Zygmunt Krynicki <email address hidden>

Fix lc-tool.py get command to print the SHA1 and not the (now gone) BUNDLE_ID

2010-09-07 Zygmunt Krynicki <email address hidden>

Documentation for DashboardAPI().bundles()

2010-09-07 Zygmunt Krynicki <email address hidden>

Documentation for DashboardAPI().streams()

2010-09-07 Zygmunt Krynicki <email address hidden>

Improve documentation for DashboardAPI.get()

2010-09-07 Zygmunt Krynicki <email address hidden>

Add missing django application for markup support

2010-09-07 Zygmunt Krynicki <email address hidden>

Improve HTML template that displays XML-RPC API help page

2010-09-07 Zygmunt Krynicki <email address hidden>

Improve documentation of DashboardAPI().version() and DashboardAPI().put()

2010-09-07 Zygmunt Krynicki <email address hidden>

Improve DjangoXMLRPCDispatcher

Use standard fault codes for the following error conditions:
- calling unknown function
- internal server error

2010-09-07 Zygmunt Krynicki <email address hidden>

Add test for DashboardAPI.put() and duplicate bundles

2010-09-07 Zygmunt Krynicki <email address hidden>

PEP8 whitespace

2010-09-07 Zygmunt Krynicki <email address hidden>

Improve DashboardAPI.put()

There is a comprehensive docstring that explains all the error conditions of the
function and its precise behaviour. A small API change has been made to make
put() return the SHA1 of the content instead of the database-dependent primary
key. In addition the actual bundle content is stored with a filename that is
derived from the primary key instead of the provided content_filename. This
change will simplify storage management and gets rid of the requirement to
validate the user-provided data that might have been used to derive a file name
on the file system (thus improves security)

All of the above is thoroughly tested with unit tests.

2010-09-07 Zygmunt Krynicki <email address hidden>

Shorten one test by using default test argument

2010-09-07 Zygmunt Krynicki <email address hidden>

Add more test scenarios for DashboardAPI.get() that show when the function fails

2010-09-07 Zygmunt Krynicki <email address hidden>

Enhance fixtures.created_bundles to be able to create personal and team bundle streams

2010-09-07 Zygmunt Krynicki <email address hidden>

Fix DashboardAPI.get() when there is no matching bundle.

2010-09-07 Zygmunt Krynicki <email address hidden>

Make fixtures.use_test_scenarios call the test function with keyword arguments

Instead of:
def foo(self, values):
values['something]
...

We get:
def foo(self, something):
...

This dramatically simplifies test code and allows to use defaults to shorten test scenario definitions

2010-09-07 Zygmunt Krynicki <email address hidden>

Move uses_scenarios and test_loop to fixtures module

2010-09-07 Zygmunt Krynicki <email address hidden>

Add fixture for creating bundle streams, simplify tests

2010-09-07 Zygmunt Krynicki <email address hidden>

Rename fixture methods not to clash with common variables

2010-09-07 Zygmunt Krynicki <email address hidden>

Add test for DashboardAPI.get()

2010-09-07 Zygmunt Krynicki <email address hidden>

Create fixtures module with helper context managers, adapt existing tests

2010-09-07 Zygmunt Krynicki <email address hidden>

Add some more scenarios for DashboardAPI.bundles()

2010-09-07 Zygmunt Krynicki <email address hidden>

Change lc-tool subcommand 'streams' not to print user and group name.

This information was pointless as it is also encoded in the pathname

2010-09-07 Zygmunt Krynicki <email address hidden>

Add missing whitespace

2010-09-07 Zygmunt Krynicki <email address hidden>

Reorder Bundle fields in the administration panel

2010-09-07 Zygmunt Krynicki <email address hidden>

Improve test helpers uses_results and test_loop()

The uses_results() function no longer passes scenario_name to test functions
(nobody used it anyway). It also depends on test_loop() to report scenario
details during unexpected exception caused by test failure.

The test_loop() class now uses logging.exception() to print exception
information, including backtrace. The output is shorter and pinpoints the error
location. Loop arguments are also displayed clearly so it's easy to figure out
why something has gone wrong.

2010-09-07 Zygmunt Krynicki <email address hidden>

Add test case for DashboardAPI.bundles() and a small support class for loop testing

2010-09-07 Zygmunt Krynicki <email address hidden>

Change Bundle addressing to use SHA1 of the content instead of the primary key.

Change DjangoAPI.get() and DjangoAPI.bundles() not to depend the primary key of
Bundle table. Instead the means of addressing bundles is by using SHA1 of the
content. This makes test results stable and generally feels better. You can
share bundle SHA1 and it will work on any database that has this document.

2010-09-06 Zygmunt Krynicki <email address hidden>

Add some test cases for DashboardAPI.streams()

2010-09-06 Zygmunt Krynicki <email address hidden>

Add subcommands for lc-tool to list bundles and bundle streams as well as upload and download data

2010-09-06 Zygmunt Krynicki <email address hidden>

Add DataSetRenderer support class to dashboard command line interface module

The new class can pretty-print table-like data such as list of bundles or bundle streams

2010-09-06 Zygmunt Krynicki <email address hidden>

Improved error handling in XML-RPC backed commands for lc-tool

2010-09-06 Zygmunt Krynicki <email address hidden>

Add XML-RPC API for listing bundles and bundle streams and uploading and downloading bundles

2010-09-06 Zygmunt Krynicki <email address hidden>

Add a BundleStream.can_download() method

The access rights required to download a bundle are the same as for uploading

2010-09-06 Zygmunt Krynicki <email address hidden>

Add content_sha1 field to Bundle model

This allows to spot duplicates easily. It is not required but useful as it
enables workflows where a fresh dashboard is fed with lots of pre-existing data
without the fear of duplicate bundles being uploaded.

2010-09-06 Zygmunt Krynicki <email address hidden>

Add ability to define scenarios per test case

2010-09-04 Zygmunt Krynicki <email address hidden>

Fix a bug in urlparse usage

2010-09-02 Zygmunt Krynicki <email address hidden>

Add client version command to lc-tool

2010-09-02 Zygmunt Krynicki <email address hidden>

Change launch_control.__version__ to be like python version tuple

2010-09-02 Zygmunt Krynicki <email address hidden>

Update unit tests for command dispatcher to take account for __abstract__

2010-09-02 Zygmunt Krynicki <email address hidden>

Make XMLRPCCommand (base class) not show up in lc-tool

2010-09-02 Zygmunt Krynicki <email address hidden>

Wrap long line in commands.dispatcher

2010-09-02 Zygmunt Krynicki <email address hidden>

Add lc-tool command module for dashboard

2010-09-02 Zygmunt Krynicki <email address hidden>

Use absolute import in commands.dispatcher

2010-09-02 Zygmunt Krynicki <email address hidden>

PEP8 whitespace fixes

2010-09-01 Zygmunt Krynicki <email address hidden>

Merge with stable.xml-rpc branch

This brings in XML-RPC support and paves the way for new features

2010-09-01 Zygmunt Krynicki <email address hidden>

Move XML-RPC API to separate module

2010-09-01 Zygmunt Krynicki <email address hidden>

Improved xml-rpc interface test code

2010-09-01 Zygmunt Krynicki <email address hidden>

Improve docstring on xml_rpc_handler()

2010-09-01 Zygmunt Krynicki <email address hidden>

Missing PEP8 blanks

2010-09-01 Zygmunt Krynicki <email address hidden>

Move import_settings import before the conditional branch

2010-09-01 Zygmunt Krynicki <email address hidden>

Improve some comments

2010-09-01 Zygmunt Krynicki <email address hidden>

Fix copy-paste issue with double call to pong()

2010-09-01 Zygmunt Krynicki <email address hidden>

Update .bzringore (database and local_settings.py)

2010-09-01 Zygmunt Krynicki <email address hidden>

Add XML-RPC interface with initial API and associated unit tests

2010-09-01 Zygmunt Krynicki <email address hidden>

Add __version__ to launch_control.dashboard_app

2010-09-01 Zygmunt Krynicki <email address hidden>

Rework settings to make initial configuration easier

2010-09-01 Zygmunt Krynicki <email address hidden>

Merge with stable.pure-server-side-models branch.

This brings in:
- preliminary django models
- dashboard bundles
- streams
- software packages
- hardware devices
- unit tests for server side code
- improved object factory class

2010-08-31 Zygmunt Krynicki <email address hidden>

Use strict naming in uses_scenario() docstring

2010-08-30 Zygmunt Krynicki <email address hidden>

Add simple scenario decorator that rolls common code into one place and adapt test cases to use it.

2010-08-30 Zygmunt Krynicki <email address hidden>

Minor whitespace and naming changes (s/_1//)

2010-08-30 Zygmunt Krynicki <email address hidden>

Rework pathname tests to use scenarios

2010-08-30 Zygmunt Krynicki <email address hidden>

Add unit tests for BundleStream._calc_pathname()

2010-08-30 Zygmunt Krynicki <email address hidden>

Update upload rights test case class name

2010-08-30 Zygmunt Krynicki <email address hidden>

Add more anonymous users upload rights unit tests

2010-08-30 Zygmunt Krynicki <email address hidden>

Fix BundleStream.can_upload() when authorized users could not upload to public streams, add unit tests to check that

2010-08-30 Zygmunt Krynicki <email address hidden>

Add more tests for BundleStream.can_upload()

2010-08-30 Zygmunt Krynicki <email address hidden>

Fix DashboardBundle.can_upload() for group permissions and add unit tests to validate that

2010-08-30 Zygmunt Krynicki <email address hidden>

Add test for BundleStream pathname being regenerated on save()

2010-08-30 Zygmunt Krynicki <email address hidden>

Add initial Bundle unit tests

2010-08-30 Zygmunt Krynicki <email address hidden>

Make pathname a regular field of BundleStream.

This prevents the issue that a unique field may have
any number of NULL values and thus resolves issues found
in recently added unit tests.

The API is not changed in any way.

2010-08-27 Zygmunt Krynicki <email address hidden>

Add BundleStream test cases (failing on sqlite)

2010-08-27 Zygmunt Krynicki <email address hidden>

Add support for using properties in Dummy classes

2010-08-27 Zygmunt Krynicki <email address hidden>

Add docstrings to urls and views

2010-08-27 Zygmunt Krynicki <email address hidden>

Add BundleStream and Bundle admin

2010-08-27 Zygmunt Krynicki <email address hidden>

Add BundleStream and Bundle models

2010-08-27 Zygmunt Krynicki <email address hidden>

Merge with .pure-server-side-models branch.

This brings in initial dashboard_app models for SoftwarePackage and
HardwareDevice. It also establishes code quality level for server-side
code merges.

2010-08-27 Zygmunt Krynicki <email address hidden>

Add test checking that NamedAttribute uniqueness constraints are enforced

2010-08-27 Zygmunt Krynicki <email address hidden>

Call .save() on database model tests to trigger any DB-level constraints

2010-08-26 Zygmunt Krynicki <email address hidden>

Add NamedAttribute and HardwareDevice models, unit tests and admin interface

2010-08-26 Zygmunt Krynicki <email address hidden>

Update SoftwarePackageTestCase to use ObjectFactoryMixIn

2010-08-26 Zygmunt Krynicki <email address hidden>

Add ObjectFactoryMixIn class to utils.call_helper

2010-08-26 Zygmunt Krynicki <email address hidden>

Add SoftwarePackage model and unit tests

2010-08-26 Zygmunt Krynicki <email address hidden>

Add empty dashboard_app application

2010-08-26 Zygmunt Krynicki <email address hidden>

Merge with new-models branch.

This brings in new common models package and associated unit tests.
The previous implementation in sample.py and sw_context.py is deprecated
and will be removed as soon as remaining models/factories changes land.

2010-08-26 Zygmunt Krynicki <email address hidden>

Better error message in TestResult looping construction test

2010-08-26 Zygmunt Krynicki <email address hidden>

Fix typo in unit tests code

2010-08-26 Zygmunt Krynicki <email address hidden>

Fix copy-pase omission

2010-08-26 Zygmunt Krynicki <email address hidden>

Remove unnecessary whitespace

2010-08-25 Zygmunt Krynicki <email address hidden>

Add TestRun unit tests

2010-08-25 Zygmunt Krynicki <email address hidden>

Add TestResult() test case for handling of default arguments

2010-08-25 Zygmunt Krynicki <email address hidden>

Add more TestResult unit tests

2010-08-25 Zygmunt Krynicki <email address hidden>

Make test_case_id and result mandatory arguments of TestResult

2010-08-25 Zygmunt Krynicki <email address hidden>

Tighten valid pattern of test_case_id, add unit tests to check this

2010-08-25 Zygmunt Krynicki <email address hidden>

Add test case for Command.register_argments()

2010-08-25 Zygmunt Krynicki <email address hidden>

Fix additional unit tests inheriting from our own TestCase class instead of unittest.TestCase

2010-08-25 Zygmunt Krynicki <email address hidden>

Remove empty implementation of PlainOldData.get_json_attr_types()

This is expected as this method is really not implemented in this class

2010-08-25 Zygmunt Krynicki <email address hidden>

Fix argument name in TestCase constructor

2010-08-25 Zygmunt Krynicki <email address hidden>

Fix DashboardBundle constructor default argument handling

2010-08-25 Zygmunt Krynicki <email address hidden>

Fix HardwareDevice constructor default argument handling

2010-08-25 Zygmunt Krynicki <email address hidden>

Add unit tests for TestCase model

2010-08-25 Zygmunt Krynicki <email address hidden>

Fix DashboardBundle test case

2010-08-25 Zygmunt Krynicki <email address hidden>

Fix test_dashboard_bundle_format_1_0 module to use TestCase from unittest not from own models

This makes all the unit tests in the module start to be picked up by TestLoader

2010-08-24 Zygmunt Krynicki <email address hidden>

Improve SoftwareImage unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

Improve HardwareDevice unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

Improve HardwareContext unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

Improve DashboardBundle unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

Add SoftwarePackage unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

Add unit tests for SoftwareImage

2010-08-24 Zygmunt Krynicki <email address hidden>

Fix slot name in SoftwareImage

2010-08-24 Zygmunt Krynicki <email address hidden>

Add unit tests for SoftwareContext

2010-08-24 Zygmunt Krynicki <email address hidden>

Add unit tests for HardwareDevice

2010-08-24 Zygmunt Krynicki <email address hidden>

Fix slot name in HardwareDevice

2010-08-24 Zygmunt Krynicki <email address hidden>

Add initial unit tests for launch_control.models

2010-08-24 Zygmunt Krynicki <email address hidden>

PEP8 whitespace in sw_image.py

2010-08-24 Zygmunt Krynicki <email address hidden>

Consistently use plain strings in get_json_attr_types()

2010-08-24 Zygmunt Krynicki <email address hidden>

Fix TestCase definition to have a slot 'name' instead of 'desc'

2010-08-24 Zygmunt Krynicki <email address hidden>

Fix TestResult docstrings for some fields copied over from older code

2010-08-24 Zygmunt Krynicki <email address hidden>

Fix HardwareDevice docstring to match implementation

2010-08-24 Zygmunt Krynicki <email address hidden>

Fix HardwareDevice constructor to provide 'description' argument

2010-08-24 Zygmunt Krynicki <email address hidden>

Use absolute imports in launch_control.models

2010-08-24 Zygmunt Krynicki <email address hidden>

Add new client side models that conform to the agreed "Dashboard Bundle format 1.0"

2010-08-26 Zygmunt Krynicki <email address hidden>

Merge with json-simplejson-compat branch.

This brings in bug fixes, unit tests and consistent support for
two json implementations: python2.6 own json and python-simplejson package

2010-08-25 Zygmunt Krynicki <email address hidden>

Add test script for checking JSON implementation support

2010-08-25 Zygmunt Krynicki <email address hidden>

Fix typo in comment

2010-08-25 Zygmunt Krynicki <email address hidden>

Add __inhibit_protect__ to utils.json.impl as a temporary workaround

2010-08-25 Zygmunt Krynicki <email address hidden>

Add a note that utils.json supports two json backed implementations

2010-08-25 Zygmunt Krynicki <email address hidden>

Remove json vs simplejson importing unit test.

This test does not make sense after adding the selection machinery

2010-08-25 Zygmunt Krynicki <email address hidden>

Add mechanism for selecting JSON implementation to work with.

This is a little hacky and might be removed in the future.
By setting JSON_IMPL to one of 'json', 'simplejson' or 'auto' you
can change the implementation on which utils.json will be based on.

This needs much more testing on python2.5 and python2.7, I suspect
some bugs are still there to find with this new switch.

2010-08-25 Zygmunt Krynicki <email address hidden>

Improve class hint existance test to be slightly more strict

2010-08-25 Zygmunt Krynicki <email address hidden>

Improve json and simplejson compatibility, always decode strings to unicode before processing

2010-08-25 Zygmunt Krynicki <email address hidden>

Improve json and simplejson compatibility, use iterencode instead of _iterencode

2010-08-25 Zygmunt Krynicki <email address hidden>

Remove unneeded imports from the json tutorial

2010-08-25 Zygmunt Krynicki <email address hidden>

Simplify imports sample.py

2010-08-24 Zygmunt Krynicki <email address hidden>

Merge with stable.cli branch.

This brings in preliminary support for command-line tool that assists launch-control web application

2010-08-24 Zygmunt Krynicki <email address hidden>

Do not pass command arguments twice, remove argument from Command.invoke()

2010-08-20 Zygmunt Krynicki <email address hidden>

Add unit tests for launch_control.commands package

2010-08-20 Zygmunt Krynicki <email address hidden>

Raise NotImplementedError instead of NotImplemented

2010-08-20 Zygmunt Krynicki <email address hidden>

Use inspect.getdoc() instead of plain __doc__

2010-08-20 Zygmunt Krynicki <email address hidden>

Add ability to pass explicit arguments to LaunchControlDispatcher

2010-08-16 Zygmunt Krynicki <email address hidden>

Add command line tool and associated infrastructure.

2010-08-24 Zygmunt Krynicki <email address hidden>

Merge with stable.software_package_comparison branch.

This brings in a minor change to the way SoftwarePackage instances are compared

2010-08-13 Zygmunt Krynicki <email address hidden>

Fix SoftwarePackage comparison by implementing __cmp__ instead of __eq__ and __lt__
------------- This line and the following will be ignored --------------

modified:
launch_control/sw_profile.py

2010-08-24 Zygmunt Krynicki <email address hidden>

Merge with .deprecate_old_json branch.

This moves sample.py to use the new json stack

2010-08-20 Zygmunt Krynicki <email address hidden>

Make sample use PlainOldData and new JSON stack, update unit tests

2010-08-24 Zygmunt Krynicki <email address hidden>

Merge .json_fixes branch

This brings in small improvements and bug fixes to the utils.json package

2010-08-24 Zygmunt Krynicki <email address hidden>

Add missing call to super(xxx, self).setUp()

2010-08-22 Zygmunt Krynicki <email address hidden>

Use mix-in classes to define common test cases for Simple/Complex JSON types

2010-08-20 Zygmunt Krynicki <email address hidden>

Fix a typo in comment

2010-08-20 Zygmunt Krynicki <email address hidden>

Improve efficiency of JSON deserialization for IComplexJSONType without customized attributes

2010-08-20 Zygmunt Krynicki <email address hidden>

When Proxy types don't map correctly raise a more descrptive exception

2010-08-20 Zygmunt Krynicki <email address hidden>

Rewrite PlainOldData.pod_attrs to be easier to read

2010-08-20 Zygmunt Krynicki <email address hidden>

Allow to disable test coverage with environment variable

2010-08-20 Zygmunt Krynicki <email address hidden>

Improve utils.json unit tests

2010-08-17 Zygmunt Krynicki <email address hidden>

Explain the purpose of the simple JSON type decoding test

2010-08-17 Zygmunt Krynicki <email address hidden>

Don't use backslashes in to create long docstrings

2010-08-17 Zygmunt Krynicki <email address hidden>

Better type checking when registering json proxy types

2010-08-17 Zygmunt Krynicki <email address hidden>

Separate import mocking into additional module to simplify other tests

2010-08-17 Zygmunt Krynicki <email address hidden>

Additional tests for JSON encoding/decoding

2010-08-17 Zygmunt Krynicki <email address hidden>

Import PlainOldData in json package

2010-08-16 Zygmunt Krynicki <email address hidden>

Treat unimplemented get_json_attr_types() as empty type mapping

2010-08-16 Zygmunt Krynicki <email address hidden>

Lookup proxy and reverse-proxy (proxied) classes to make type checking work

2010-08-16 Zygmunt Krynicki <email address hidden>

Use _unmarshall_object when using class_hints (as it uses get_json_attr_types())

2010-08-16 Zygmunt Krynicki <email address hidden>

Make test output deterministic by using sorted_keys=True

2010-08-17 Zygmunt Krynicki <email address hidden>

Merge with stable.registration branch.
This adds easier subclass registration and enumeration APIs that will improve future code

2010-08-16 Zygmunt Krynicki <email address hidden>

Add simple module for detecting all known sub-classes of a particular class.

2010-08-13 Zygmunt Krynicki <email address hidden>

Reorganize JSON package imports:
- __init__.py is empty and just imports everything from various places for simplicity.
- each major class gets a separate module
- common interfaces are moved to interface module
- class registry moved to registry module
- "find a json implementation" moved to module for future-compatibility
- all imports are sorted/layed out correctly
- all imports still use PEP8 discouraged package-reltaive imports
- all modules are added to test coverage reporting

2010-08-13 Zygmunt Krynicki <email address hidden>

Change logging configuration for PluggableJSONDecoder

2010-08-12 Zygmunt Krynicki <email address hidden>

Minor cleanup in PluggableJSONDecoder:
- replace all commented-out print statements with debug logging messages
- use "unmarshall" instead of "awake"

2010-08-12 Zygmunt Krynicki <email address hidden>

Improve utils.filesystem module (docstrings and unit tests)

2010-08-12 Zygmunt Krynicki <email address hidden>

Some code review fixes
- all modules containing unit tests are named test_FOO
- import lists and other modul lists are sorted

2010-08-11 Zygmunt Krynicki <email address hidden>

Add new utils package.

This package contains the brand-new utils.json package with comprehensive json
support. Miscellaneous testing support modules (import_prohibitor and
call_helper) are also relocated to the utils package.

The utils_json module is _not_ removed yet. For review simplicity changes that
remove this module and adapt everything that depended on it are applied in
separate patches.

2010-08-13 Zygmunt Krynicki <email address hidden>

Merge initial bits of the server side application

2010-08-13 Zygmunt Krynicki <email address hidden>

Add initial server code.

Note that this only includes the "lc-server" django project without any django
apps that actually matter. Subsequent patches will bring each app, one at a
time.

2010-08-11 Zygmunt Krynicki <email address hidden>

Better support displaying test coverage

2010-07-01 Zygmunt Krynicki <email address hidden>

Merge with .python2.5 branch

This brings in:
- python2.5 support
- tested on Ubuntu 8.04/Hardy
- removal of any usage of class decorators using @ syntax
- __future__ imports where appropriate
- json / simplejson / utils_json compatibility fixes
- one generic bugfix for prohibited_modules.py

2010-06-29 Zygmunt Krynicki <email address hidden>

Add python-simplejson to dependencies

2010-06-29 Zygmunt Krynicki <email address hidden>

Do not automatically attempt to hide all prohibited modules.
Fixes an issue where prohibited module was not loaded yet
(and is in fact not available at all) and would fail to unload.

2010-06-29 Zygmunt Krynicki <email address hidden>

Import json from utils_json (python2.5 compatibility)

2010-06-29 Zygmunt Krynicki <email address hidden>

Use from __future__ import with_statement (python2.5 compatibility)

2010-06-29 Zygmunt Krynicki <email address hidden>

Do not use class decorators (python2.5 compatibility)

2010-06-29 Zygmunt Krynicki <email address hidden>

Fix test suite to work on lucid

2010-06-29 Zygmunt Krynicki <email address hidden>

Whitespace fix

2010-06-29 Zygmunt Krynicki <email address hidden>

Add test case for importing debian_version_compare from debian_bundle if debian is not available

2010-06-29 Zygmunt Krynicki <email address hidden>

Add support to import_prohibitor.py for reloading explicitly listed modules

2010-06-28 Zygmunt Krynicki <email address hidden>

Fix issue in PluggableJSONDecoder._object_hook() that would prevent it from working on python 2.6.4

2010-06-28 Zygmunt Krynicki <email address hidden>

Merge with .unittest branch

This brings in:
- import_prohibitor module for mocking ImportError failures
- support for python-coverage for test coverage tracking
- simplified unit test launcher
- 100% coverage for current application code

2010-06-28 Zygmunt Krynicki <email address hidden>

Add another test case for SoftwarePackage ordering when package names are different

2010-06-28 Zygmunt Krynicki <email address hidden>

Add test case contributed by James Westby

2010-06-28 Zygmunt Krynicki <email address hidden>

Rework the comment next to code testing debian version comparator

2010-06-28 Zygmunt Krynicki <email address hidden>

Wrap long lines

2010-06-28 Zygmunt Krynicki <email address hidden>

Add more newlines where appropriate

2010-06-28 Zygmunt Krynicki <email address hidden>

Add unit tests for launch_control.utils_json module

2010-06-28 Zygmunt Krynicki <email address hidden>

Add helper module for mocking ImportError

2010-06-28 Zygmunt Krynicki <email address hidden>

Separate ClassRegistry from IJSONSerializable for better ensapsulation

2010-06-28 Zygmunt Krynicki <email address hidden>

Add .coverage to ignored files

2010-06-28 Zygmunt Krynicki <email address hidden>

Add unit tests for _Sample.to_json()

2010-06-28 Zygmunt Krynicki <email address hidden>

Add unit tests for SoftwareProfile.inspect_system()

2010-06-28 Zygmunt Krynicki <email address hidden>

Simplify SoftwareProfile.find_installed_packages and associated unit tests

2010-06-28 Zygmunt Krynicki <email address hidden>

Remove support for running doctests directly to get better test coverage reporting

2010-06-28 Zygmunt Krynicki <email address hidden>

Add support for checking code coverage

2010-06-24 Zygmunt Krynicki <email address hidden>

Add unit tests for SoftwareProfile

2010-06-24 Zygmunt Krynicki <email address hidden>

Add unit tests for SoftwarePackage

2010-06-24 Zygmunt Krynicki <email address hidden>

Remove obsolete shebang from sample.py

2010-06-24 Zygmunt Krynicki <email address hidden>

Merge with .sw_profile branch

This brings in:
- sw_profile module with SoftwarePackage and SoftwareProfile classes
for inspecting runtime software environment
- third party mocker module (in launch_control.thirdparty.mocker)
from Gustavo Niemeyer

2010-06-24 Zygmunt Krynicki <email address hidden>

Don't catch import error on 'import apt'. Adjust documentation.

2010-06-24 Zygmunt Krynicki <email address hidden>

Use python-debian to compare package version

2010-06-24 Zygmunt Krynicki <email address hidden>

Replace testing.mocker to thirdparty.mocker to reflect actual module location

2010-06-24 Zygmunt Krynicki <email address hidden>

Added doctests for sw_profile module
Most of them will be converted to unit tests as soon as the testing branch is merged into trunk

2010-06-24 Zygmunt Krynicki <email address hidden>

Add third party mocker module

2010-06-22 Zygmunt Krynicki <email address hidden>

Add sw_profile module with SoftwarePackage and SoftwareProfile classes

2010-06-24 Zygmunt Krynicki <email address hidden>

Merge with .testing branch

This brings in:
- easier way to run unit tests from multiple modules
- clear upgrade path from doctests

2010-06-23 Zygmunt Krynicki <email address hidden>

Rename test_all() to test_suite()

2010-06-22 Zygmunt Krynicki <email address hidden>

Simplify unittest setup code

2010-06-22 Zygmunt Krynicki <email address hidden>

Whitespace fix in call_helper.py

2010-06-22 Zygmunt Krynicki <email address hidden>

Improved testing framework/loader for launch_control. It is sufficient to list
modules to test in launch_control.tests.__init__.py's _modules variable. The
__doctests_module__ hack can now go away as doctests are extracted from all
modules.

2010-06-24 Zygmunt Krynicki <email address hidden>

Merge with .json branch.

This brings in:
- support for universal json serialization/deserialization with type registration
- support for serializing QualitativeSample and QuantitativeSample
- unit tests and documentation

2010-06-24 Zygmunt Krynicki <email address hidden>

Move some QualitativeSampleJOSNSupport fields into setUp() method and add PEP8 whitespace

2010-06-24 Zygmunt Krynicki <email address hidden>

Remove __lt__() method from _Sample

2010-06-24 Zygmunt Krynicki <email address hidden>

Add support to serialize datetime.datetime() and datetime.timedelta() fields

2010-06-24 Zygmunt Krynicki <email address hidden>

Fix issues unovered during code review
1) Rename _serialize/_deserialize -> to_json/from_json
2) Dont use abc as it is python2.6 only
3) Fall back to simplejson if full-blown json is not available
4) Remove save/load functions as they don't have any advantage over json.dump/json.load

2010-06-22 Zygmunt Krynicki <email address hidden>

Minor whitespace fixes in utils_json.py

2010-06-22 Zygmunt Krynicki <email address hidden>

Fix inaccurate docstring for utils_json.py

2010-06-21 Zygmunt Krynicki <email address hidden>

Make QualitativeSample and QuantitativeSample serializable to JSON documents

2010-06-21 Zygmunt Krynicki <email address hidden>

Add load() function to utils_json module

2010-06-21 Zygmunt Krynicki <email address hidden>

Simplify type registration and move the type registry to IJSONSerializable class

2010-06-21 Zygmunt Krynicki <email address hidden>

Add extensible objects-to-JSON serialization support module

2010-06-21 Zygmunt Krynicki <email address hidden>

Merge with .quantitative-sample branch

2010-06-21 Zygmunt Krynicki <email address hidden>

Additional tests for QuantitativeSample, move Dummy classes closer to usage

2010-06-21 Zygmunt Krynicki <email address hidden>

Improve comments in QuantitativeSample.__init__()

2010-06-21 Zygmunt Krynicki <email address hidden>

Do not use 'pass' constant directly

2010-06-21 Zygmunt Krynicki <email address hidden>

Fix incorrect docstring for QuantitativeSample

2010-06-19 Zygmunt Krynicki <email address hidden>

Improve docstring for QuantitativeSample._set_test_id

2010-06-19 Zygmunt Krynicki <email address hidden>

Drop dependency on types module

2010-06-19 Zygmunt Krynicki <email address hidden>

Add QuantitativeSample class

2010-06-21 Zygmunt Krynicki <email address hidden>

Merge with .code-and-docs-clenaup branch

2010-06-21 Zygmunt Krynicki <email address hidden>

Explain how constructor testing works together with ObjectFactory.
Rename some methods that test for default argument not to include the value in
the method name should the argument value change in sub-classes.

2010-06-21 Zygmunt Krynicki <email address hidden>

Improve comments around __init__ and explain the purpose od double-assignment

2010-06-21 Zygmunt Krynicki <email address hidden>

Do not force the value of QualitativeSample.test_result into str()

2010-06-18 Zygmunt Krynicki <email address hidden>

Remove old diagnostic commands from call_helper.py

2010-06-18 Zygmunt Krynicki <email address hidden>

Add docstring to launch_control package

2010-06-18 Zygmunt Krynicki <email address hidden>

Decouple _Sample and QualitativeSample tests

2010-06-18 Zygmunt Krynicki <email address hidden>

Make the mininum timestamp test more obvious

2010-06-18 Zygmunt Krynicki <email address hidden>

Use 'value' instead of 'timestamp' in one of the tests

2010-06-18 Zygmunt Krynicki <email address hidden>

Change _Sample and QualitativeSample constructors to set attributes directly
rather than by using setattr.

2010-06-18 Zygmunt Krynicki <email address hidden>

Fix _Sample constructor to validate test_id

2010-06-18 Zygmunt Krynicki <email address hidden>

Check that timestamp value is not too old

2010-06-18 Zygmunt Krynicki <email address hidden>

Improve documentation for QualitativeSample.{message,duration,timestamp}

2010-06-18 Zygmunt Krynicki <email address hidden>

Store test_result as string even if argument is unicode

2010-06-18 Zygmunt Krynicki <email address hidden>

Merge with .zyga branch

2010-06-18 Zygmunt Krynicki <email address hidden>

Rename TEST_RESULT_CRASH to TEST_RESULT_UNKNOWN

2010-06-18 Zygmunt Krynicki <email address hidden>

Refactor CallHelper and ObjectFactory to remove necessity of CallHelper.__init__()'s ignore_self argument

2010-06-18 Zygmunt Krynicki <email address hidden>

Improve ObjectFactory documentation

2010-06-18 Zygmunt Krynicki <email address hidden>

Break one long line

2010-06-18 Zygmunt Krynicki <email address hidden>

Move _Dummy classes from _Sample and QualitativeSample into unit testing module

2010-06-18 Zygmunt Krynicki <email address hidden>

Add support for using external _Dummy classes in ObjectFactory

2010-06-18 Zygmunt Krynicki <email address hidden>

Use constant names in test_result assignment tests

2010-06-18 Zygmunt Krynicki <email address hidden>

Remove needless whitespace

2010-06-18 Zygmunt Krynicki <email address hidden>

Use arbitrary dummy values instead of concrete values where possible

2010-06-18 Zygmunt Krynicki <email address hidden>

Use constant names when passing test_result values

2010-06-18 Zygmunt Krynicki <email address hidden>

Rename DUMMY and DEFAULT to DUMMY_VALUE and DEFAULT_VALUE

2010-06-18 Zygmunt Krynicki <email address hidden>

Make it explicit in the CallHelper documentation that default values are not overriden by dummy values

2010-06-18 Zygmunt Krynicki <email address hidden>

Reformat call_helper.py's docstrings, comments and code not to exceed 79 columns

2010-06-18 Zygmunt Krynicki <email address hidden>

Fix typo error in CallHelper._fill_agrs()

2010-06-18 Zygmunt Krynicki <email address hidden>

Fix overly long lines

2010-06-17 Zygmunt Krynicki <email address hidden>

Remove inaccurate parts of a comment in CallHelper._fill_args

2010-06-17 Zygmunt Krynicki <email address hidden>

Add generic call helper and generic object factory
Improve unit tests with new factory objects and dummy values
Make testing for default constructor attributes work across inheritance (finally!)

2010-06-17 Zygmunt Krynicki <email address hidden>

Merge with .zyga branch

2010-06-17 Zygmunt Krynicki <email address hidden>

Fix invalid assumptions on timestmap and duration storage

Use datetime.datetime and datetime.timedelta instead of plain numbers

2010-06-16 Zygmunt Krynicki <email address hidden>

Add make_qualitative_sample helper to make unit tests more explicit

2010-06-16 Zygmunt Krynicki <email address hidden>

Move factory.py to testing package

2010-06-16 Zygmunt Krynicki <email address hidden>

Remove unused import 'random'

2010-06-16 Zygmunt Krynicki <email address hidden>

Add more newlines where appropriate

2010-06-16 Zygmunt Krynicki <email address hidden>

Add tests for skip/crash test_result

2010-06-16 Zygmunt Krynicki <email address hidden>

Rework tests to drop randomness, use factory methods

2010-06-16 Zygmunt Krynicki <email address hidden>

Add newlines between methods (PEP8 compliance)

2010-06-16 Zygmunt Krynicki <email address hidden>

Add QualitativeSample.duration field

2010-06-15 Zygmunt Krynicki <email address hidden>

Add QualitativeSample.message and QualitativeSample.timestamp fields

2010-06-15 Zygmunt Krynicki <email address hidden>

Check that QualitativeSample.test_result is a string type

2010-06-15 Zygmunt Krynicki <email address hidden>

Simplify access to QualitativeSample.test_id

2010-06-15 Zygmunt Krynicki <email address hidden>

Add 'message' and 'timestamp' fields to QualitativeSample

2010-06-14 Zygmunt Krynicki <email address hidden>

Merged with .zyga branch

2010-06-14 Zygmunt Krynicki <email address hidden>

Remove duplicates from Depends field

2010-06-14 Zygmunt Krynicki <email address hidden>

Add bzr builddeb support

2010-06-14 Zygmunt Krynicki <email address hidden>

Add debian directory

2010-06-14 Zygmunt Krynicki <email address hidden>

Add setup.py for building and packaging

2010-06-14 Zygmunt Krynicki <email address hidden>

Add doctest + unittest testing solution and some additional tests for sample module

2010-06-14 Zygmunt Krynicki <email address hidden>

Removed the license until Linaro TSC makes a decision

2010-06-14 Zygmunt Krynicki <email address hidden>

Rework doctests so that they make sense as a documentation

2010-06-14 Zygmunt Krynicki <email address hidden>

Create launch_control package with __version__ field and apply PEP8 whitespace rules

2010-06-14 Zygmunt Krynicki <email address hidden>

Add 'api.py' with some basic Sample API

2010-06-14 Zygmunt Krynicki <email address hidden>

Initial import with license file

2011.06

2011-06-28 Paul Larson <email address hidden>

Remove dependency on linaro-dashboard bundle. This was causing odd
installation failures

2011-06-26 Zygmunt Krynicki <email address hidden>

Use vanilla setuptools instead of DistUtilsExtra

2011-06-22 Le Chi Thu <email address hidden> <email address hidden>

Updated license info

2011-06-21 Le Chi Thu <email address hidden> <email address hidden>

use setuptools instead of DistUtilsExtra

2011-06-23 Paul Larson <email address hidden>

Release 2011.06

2011-06-14 Paul Larson <email address hidden>

Add analyzer_assigned_uuid back (previously removed due to bad commit)

2011-06-09 Paul Larson <email address hidden>

Minimum necessary to rename abrek to lava-test. More cleanup can be
done later to change filenames, class names, etc to be more consistent
with the rename

2011-06-08 Paul Larson <email address hidden>

Fix firefox test parsing

2011-06-08 Le Chi Thu <email address hidden> <email address hidden>

Synched with trunk. Renamed the peacekeeper.py to peacekeeper_runner.py

2011-06-07 Paul Larson <email address hidden>

Chi Thu's sync with Zygmunt's branches

2011-06-07 Le Chi Thu <email address hidden> <email address hidden>

Undo the UUID changes

2011-06-07 Le Chi Thu <email address hidden> <email address hidden>

allow main.py to be runned as main file.

2011-06-01 Le Chi Thu <email address hidden> <email address hidden>

Merged - use document IO

2011-04-19 Zygmunt Krynicki <email address hidden>

Remove unneeded imports

2011-04-19 Zygmunt Krynicki <email address hidden>

Add missing json import

2011-04-19 Zygmunt Krynicki <email address hidden>

Use DocumentIO wrapper to read/write bundles

2011-04-19 Zygmunt Krynicki <email address hidden>

Add missing, required, fields to bundle tests

2011-04-19 Zygmunt Krynicki <email address hidden>

Use DocumentIO in _savetestdata

2011-04-19 Zygmunt Krynicki <email address hidden>

Store attachments in each bundle

2011-04-19 Zygmunt Krynicki <email address hidden>

Store 'testdata.json' in a directory prefixed with analyzer_assigned_uuid

Previously the prefix was a timestamp which is unreliable. This also makes
the directory prefix (the last directory name actually) a very convenient
"Result id" that is printed after each test. It somewhat streamlines
the experience between the dashboard and abrek where the UUID can
be used to lookup test runs.

2011-04-19 Zygmunt Krynicki <email address hidden>

Make sure AbrekTest.run() does not stray into wrong directory on exceptions

2011-04-19 Zygmunt Krynicki <email address hidden>

Cleanup AbrekTest._savedata()

2011-04-19 Zygmunt Krynicki <email address hidden>

Add optional linaro-dashboard-bundle integration

2011-04-19 Zygmunt Krynicki <email address hidden>

Store line numbers and attachment information

2011-06-01 Le Chi Thu <email address hidden> <email address hidden>

Merged - Add ITest interface

2011-04-19 Zygmunt Krynicki <email address hidden>

Add ITest interface (backport from szarik)

2011-06-01 Zygmunt Krynicki <email address hidden>

Merge firefox startup time measurement tests

2011-06-01 Jani Monoses <email address hidden>

Add test for Firefox startup time measurement

2011-05-27 Spring Zhang <email address hidden>

add exception handler when getting usb device info in case no lsusb command

2011-05-26 Spring Zhang <email address hidden>

add exception handler when getting usb device info in case no lsusb command

2011-05-23 Paul Larson <email address hidden>

add build-essential as a dep for stream

2011-05-04 Spring Zhang <email address hidden>

add stream test package dependency

Meet error:
Test installation error: Run step 'cc stream.c -O2 -fopenmp -o stream' failed. 256 : stream.c:43:20: fatal error: stdio.h: No such file or directory
compilation terminated.

2011-05-05 Le Chi Thu <email address hidden> <email address hidden>

Added browser benchmark test case - peacekeeper

2011-04-20 Le Chi Thu <email address hidden> <email address hidden>

Added pybench test suite.

2011-04-20 Le Chi Thu <email address hidden> <email address hidden>

Removed calling the parser after test is run. Removed copy err message to same file as std out.

2011-04-16 Le Chi Thu <email address hidden> <email address hidden>

Added pybench test suite. Added test_results to json file. Minor improvement of error handling

2011-04-15 Paul Larson <email address hidden>

Add fixmeasurements() method to fix string measurements to be float.
Also add this to the classes derived by a few of the tests that needed
it

2011-04-13 Paul Larson <email address hidden>

Add gcc as a dep for some of the tests that need it, there are probably
more

2011-04-07 Paul Larson <email address hidden>

Update abrek dashboard bundle format to 1.2

2011-04-07 Paul Larson <email address hidden>

Update abrek dashboard bundle format to 1.2

2011-04-01 Paul Larson <email address hidden>

Fix a couple of problems with LTP:
1. match the entire message string, not just the first word
2. eliminate tests with subid 0, they are always TINFO and produce
meaningless, duplicate test results if we include them in the json
bundle

2011-04-01 Paul Larson <email address hidden>

fixids() was improperly filtering periods in test_case_id

2011-03-23 Paul Larson <email address hidden>

update json output to match updates in launch-control

2011-03-10 Paul Larson <email address hidden>

Add new pwrmgmt test dependencies

2011-03-10 Torez Smith <torez@torezthinkpad>

added other dependencies

2011-03-09 Paul Larson <email address hidden>

Merge -o option for run from Zygmunt, allowing abrek to run and save
output all in one step

2011-02-11 Paul Larson <email address hidden>

Stream has mucked with things, doesn't seem to have a reliable download
from upstream. Ignore md5 for now.

2011-02-02 Paul Larson <email address hidden>

Added pwrmgmt test from Torez

2011-02-02 Paul Larson <email address hidden>

Add deps to pwrmgmt test, and some minor cleanups

2011-02-02 Torez Smith <torez@torezthinkpad>

moved make steps to install portion

2011-02-01 Torez Smith <torez@torezthinkpad>

included support for Makefiles

2011-01-27 Torez Smith <torez@torezthinkpad>

moved test cases down one level

2011-01-27 Torez Smith <torez@torezthinkpad>

add parse support for pwrmgmt tests

2011-01-13 Torez Smith <torez@torezthinkpad>

adding support for PM QA

2011-01-12 Paul Larson <email address hidden>

Clean up an unusual looking error

2010-11-24 Paul Larson <email address hidden>

Get the image description from /etc/buildstamp if it exists

2010-11-24 Paul Larson <email address hidden>

Not ideal, but prevents a the test from failing improperly if
/etc/buildstamp happens to exist on the machine where unit tests are
being run

2010-11-19 Paul Larson <email address hidden>

Get the image description from /etc/buildstamp if it exists

2010-11-23 Paul Larson <email address hidden>

Fix some unit tests

2010-11-19 Paul Larson <email address hidden>

Fix some unit tests that break if you run on ARM

2010-11-19 Paul Larson <email address hidden>

Add some new utility functions for get_machine_type() and
fake_machine()/clear_fake_machine() for getting the os.uname value and
allowing it to be spoofed for unit tests

2010-10-20 Paul Larson <email address hidden>

Add tiobench benchmark from Deepti

2010-10-20 Paul Larson <email address hidden>

minor cleanups

2010-10-14 Deepti B.Kalakeri<email address hidden>

Addressing review comments to the tiobench IO performance test suite

2010-10-07 Deepti B.Kalakeri<email address hidden>

Addressing review comments to the tiobench IO performance test suite

2010-10-04 Deepti B.Kalakeri<email address hidden>

Adding the tiobench IO performance test suite

2010-10-18 Paul Larson <email address hidden>

Merge glmemperf test from Alexandros

2010-10-08 Alexandros Frantzis <email address hidden>

Exclude tests that crash the benchmark (shmimage).
Add license.

2010-10-01 Alexandros Frantzis <email address hidden>

Add glmemperf test definition.

2010-10-18 Paul Larson <email address hidden>

Add x11perf test and also ad a fixids method to the parser that changes
spaces to _ and removes illegal characters from the test_case_id, until
dashboard can handle this.

2010-10-18 Paul Larson <email address hidden>

Add a fixids method to the parser that changes the the testid to
something dashboard can handle

2010-10-18 Paul Larson <email address hidden>

add license header

2010-10-01 Alexandros Frantzis <email address hidden>

Add x11perf test definition.

2010-10-15 Paul Larson <email address hidden>

Add a message at the end of test runs to let the user know the test id
of the result

2010-10-15 Paul Larson <email address hidden>

Add unit test for checking that the AbrekTestRunner steps can be
executed from AbrekTest, and the output is what we expect including the
result ID

2010-10-15 Paul Larson <email address hidden>

Add a message at the end of a test run to specify the result ID
Also chdir back to original directory which can help prevent some
strange errors when unit tests are rn

2010-10-15 Paul Larson <email address hidden>

Some fixes for gtkperf test

2010-10-14 Paul Larson <email address hidden>

Replace spaces with _ in gtkperf test case id's

2010-10-14 Paul Larson <email address hidden>

Run gtkperf with LANG=C

2010-10-15 Paul Larson <email address hidden>

Silence the IOError that gets generated when you pipe output to less and quit before it's complete

2010-10-14 Paul Larson <email address hidden>

Silence the IOError that gets generated when you pipe output to less and
quit before it's complete

2010-10-12 Paul Larson <email address hidden>

Add a new class for commands with subcommands to deal with those better,
and fix help so that it works better when dealing with subcommands from
Michael Hudson.

2010-10-12 Michael Hudson <email address hidden>

some tests for the help builtin

2010-10-12 Michael Hudson <email address hidden>

tweaks

2010-10-12 Michael Hudson <email address hidden>

tweaks to tests

2010-10-12 Michael Hudson <email address hidden>

tweaks

2010-10-12 Michael Hudson <email address hidden>

don't need this any more

2010-10-12 Michael Hudson <email address hidden>

fix other failing tests

2010-10-12 Michael Hudson <email address hidden>

fix tests broken by code motion

2010-10-12 Michael Hudson <email address hidden>

convert results over to new world; fix stupid typo

2010-10-12 Michael Hudson <email address hidden>

random hacking, but it seems like an improvement

2010-10-12 Paul Larson <email address hidden>

Fix some problems with get_usb_devs tests

2010-10-05 Paul Larson <email address hidden>

Fix some problems with get_usb_devs tests

2010-10-08 Paul Larson <email address hidden>

Add a put command to dashboard

2010-10-08 Paul Larson <email address hidden>

Fix description for board devices under armel

2010-10-07 Paul Larson <email address hidden>

Handle error condition where the host is valid but cannot connect to the
dashboard on that port/url

2010-10-07 Paul Larson <email address hidden>

handle problems with the host, or connection problems more nicely

2010-10-07 Paul Larson <email address hidden>

use the name of the result for the filename

2010-10-07 Paul Larson <email address hidden>

Add indenting to json output

2010-10-07 Paul Larson <email address hidden>

merge with trunk

2010-10-05 Paul Larson <email address hidden>

Add some tests for dashboard put

2010-10-05 Paul Larson <email address hidden>

add put command to dashboard

2010-10-07 Paul Larson <email address hidden>

Fix for get_board_devs unit test

2010-10-07 Paul Larson <email address hidden>

Fix get_board_devs test with generic info

2010-10-07 Paul Larson <email address hidden>

Fix a strange problem that can happen during unit tests

2010-10-05 Paul Larson <email address hidden>

Don't store config information in the instance. This doesn't add significant overhead to get_config() each time, and prevents a situation I found where the test object has old information about the config location in unit tests.

2010-10-07 Paul Larson <email address hidden>

nicer formatting of json output

2010-10-06 Paul Larson <email address hidden>

nicer formatting of json output

2010-10-01 Paul Larson <email address hidden>

Remove abrek parse command

2010-10-01 Paul Larson <email address hidden>

remove deprecated abrek parse command

2010-10-01 Paul Larson <email address hidden>

Add license header to ltp

2010-10-01 Paul Larson <email address hidden>

Fix dashboard json compatibility issue

2010-10-01 Zygmunt Krynicki <email address hidden>

Fix dashboard compatibility issue.

Hardware device attributes can only store simple strings. Before this patch
the hardware profile harvester was exploding the list of CPU features. This
caused a list to be created where only strings were expected.

2010-10-01 Paul Larson <email address hidden>

Fix gtkperf to correctly append units and result

2010-10-01 Paul Larson <email address hidden>

Add license to gtkperf

2010-10-01 Alexandros Frantzis <email address hidden>

Fix gtkperf test to correctly append 'units' and 'result' values.

2010-09-29 Paul Larson <email address hidden>

Add gmpbench

2010-09-29 Paul Larson <email address hidden>

A few minor cleanups

2010-09-29 Paul Larson <email address hidden>

merge with trunk

2010-09-29 Deepti B.Kalakeri<email address hidden>

Adding the results and unit field to the test_results

2010-09-28 Deepti B.Kalakeri<email address hidden>

Addressing review comments

2010-09-28 Deepti B.Kalakeri<email address hidden>

Fix typo in the comment

2010-09-28 Deepti B.Kalakeri<email address hidden>

Added GMPbench test suite

2010-09-28 Paul Larson <email address hidden>

Add a subcommand to output bundles that can be read by launch-control

2010-09-28 Paul Larson <email address hidden>

have make_stream_result return the test id and uuid that were assigned
so that the test can use them for comparison

2010-09-28 Paul Larson <email address hidden>

some minor cleanups

2010-09-28 Paul Larson <email address hidden>

Fix up some formatting errors in _savetestdata

2010-09-27 Paul Larson <email address hidden>

Add new tests for the bundle subcommand

2010-09-27 Paul Larson <email address hidden>

Add a subcommand to output bundles that can be imported into the
dashboard

2010-09-27 Paul Larson <email address hidden>

Fix some json compatibility issues with the launch-control dashboard

2010-09-27 Paul Larson <email address hidden>

one more rename

2010-09-27 Paul Larson <email address hidden>

Make hw_profile tests more complete

2010-09-27 Paul Larson <email address hidden>

match variable names to field names better in hwprofile

2010-09-24 Paul Larson <email address hidden>

Fix some json compatibility issues with launch-control

2010-09-23 Paul Larson <email address hidden>

Test output now goes to stdout by default, ./abrek run now has a -q
option to disable this

2010-09-23 Paul Larson <email address hidden>

remove unnecessary polling

2010-09-21 Paul Larson <email address hidden>

Add tests for the new quiet option when running tests

2010-09-21 Paul Larson <email address hidden>

This adds a -q/--quiet option for running tests, and changes default
behavior to be verbose. Some long running tests would leave the user
without feedback during the run. To do this, two util functions were
added as well. One to run commands and poll for output, and another to
mimic tee functionality so that output can optionally be sent to stdout,
and to a logfile.

2010-09-22 Paul Larson <email address hidden>

Added open posix test suite (via LTP)

2010-09-22 Deepti B.Kalakeri<email address hidden>

Script to automate installation, execution, and parsing of posix test suite

2010-09-20 Deepti B.Kalakeri<email address hidden>

script to automate installation, execution, and parsing of posix test suite

2010-09-22 Paul Larson <email address hidden>

Added gtkperf test suite

2010-09-22 Paul Larson <email address hidden>

minor fix

2010-09-16 Paul Larson <email address hidden>

Added gtkperf from alf, changed to fix some fields for parsing, etc

2010-09-20 Paul Larson <email address hidden>

add -y to apt-get or it can get stuck

2010-09-18 Paul Larson <email address hidden>

Handle and warn when hardware information cannot be read. This
situation could indicate a problem, hence the warning, but could also be
expected in the case of chroots for example.

2010-09-17 Paul Larson <email address hidden>

Add tests for the new hwprofile error handling

2010-09-17 Paul Larson <email address hidden>

Handle and warn when hardware information cannot be read. This
situation could indicate a problem, hence the warning, but could also be
expected in the case of chroots for example.

2010-09-17 Paul Larson <email address hidden>

Extend fake_files interface to allow it to point not only at fake data,
but a fake path as well. This is especially useful when trying to
simulate a situation where the file does not exist. Also add a method
to clear the list of fake data/paths.

2010-09-17 Paul Larson <email address hidden>

Removed artifact from testing the test in an earlier branch. Unrelated
to most of the other changes here, but an obvious one-liner.

2010-09-17 Paul Larson <email address hidden>

Fix LP: 639930 to give better error message when calling a subcommand
that doesn't exist, or was missepelled

2010-09-15 Paul Larson <email address hidden>

Give a more useful error when calling a subcommand that doesn't exist

2010-09-15 Paul Larson <email address hidden>

Add a test for fixed behavior when running a subcommand that is not
defined

2010-09-15 Paul Larson <email address hidden>

Allow OutputImposter to grab stderr also

2010-09-15 Paul Larson <email address hidden>

Add a test definition for LTP

2010-09-14 Paul Larson <email address hidden>

Forgot to remove that, oops :)

2010-09-14 Paul Larson <email address hidden>

Add a test definition for ltp

2010-09-14 Paul Larson <email address hidden>

Fix downloading if url contains a space

2010-09-10 Paul Larson <email address hidden>

Add basic support for configuration to get to the dashboard

2010-09-10 Paul Larson <email address hidden>

Some cleanup after code review

2010-09-03 Paul Larson <email address hidden>

Add tests for the dashboard module so far

2010-09-03 Paul Larson <email address hidden>

Add skeleton for dashboard module, and a subcommand to setup
configuration for connection to a dashboard

2010-09-01 Paul Larson <email address hidden>

Add support for simple fixtures

2010-09-01 Paul Larson <email address hidden>

Fixups from code review:
* Change Fake* names
* change cleanup() to tearDown for fixtures so that it doesn't need to
be explicitly called

2010-08-31 Paul Larson <email address hidden>

Add support for simple fixtures, alter relevant tests to use them

2010-08-26 Paul Larson <email address hidden>

Add results module for abrek with subcommands for operating on results
stored locally

replaces list-results command

2010-08-26 Paul Larson <email address hidden>

* Split out the FakeConfigTests and FakeOutputTests
* Add several more tests to cover failure cases for results command

2010-08-26 Paul Larson <email address hidden>

Change error message for consistency

2010-08-26 Paul Larson <email address hidden>

Handle calling results show for a result that doesn't exist

2010-08-26 Paul Larson <email address hidden>

style change, add extra blank line between classes

2010-08-26 Paul Larson <email address hidden>

remove unneeded parens

2010-08-24 Paul Larson <email address hidden>

Make a new 'results' module for abrek that contains the subcommands:
* list
* rm
* rename
* show

This changes a single command (list-results to results list) and extends
functionality to further operate on locally stored results

2010-08-24 Paul Larson <email address hidden>

Add tests for results plugin

2010-08-18 Paul Larson <email address hidden>

Added copyright/license header to source files and COPYING file

2010-08-18 Paul Larson <email address hidden>

Added copyright/license header to source files, and a COPYING file in
the root project directory

2010-08-18 Paul Larson <email address hidden>

Add support for subcommands

2010-08-17 Paul Larson <email address hidden>

Added a test to make sure the subcommand is stripped from the argv list
when the subcommand is called.

2010-08-17 Paul Larson <email address hidden>

Added some additional documentation for AbrekCmd

2010-08-17 Paul Larson <email address hidden>

Allow AbrekCmd.main() to pass back return values if they exist for
testing purposes, and add a test that covers the execution path for
subcommands

2010-08-17 Paul Larson <email address hidden>

Add support for subcommands

2010-08-17 Paul Larson <email address hidden>

Add tests for subcommands, and a few things I missed before

2010-08-10 Paul Larson <email address hidden>

Add sw/hw profile information to test runs and make abrek more compliant
with what the dashboard will expect

2010-08-10 Paul Larson <email address hidden>

Fix a couple of small bugs with uuid and date, and capture hardware and
software profile information at run time

2010-08-10 Paul Larson <email address hidden>

Add uuid and change some field names to make abrek match what the
dashboard expects

2010-08-10 Paul Larson <email address hidden>

Remove test_id and time check from swprofile information, they should
not be part of that structure

2010-08-06 Paul Larson <email address hidden>

Add support for gathering hardware profile information

2010-08-06 Paul Larson <email address hidden>

Add support for gathering hardware profile information on the system

2010-08-06 Paul Larson <email address hidden>

Add tests for hwprofile code

2010-08-06 Paul Larson <email address hidden>

Add a read_file() utility function and a fake_file() for testing

2010-08-06 Paul Larson <email address hidden>

Add support for gathering software profile information from the system

2010-08-04 Paul Larson <email address hidden>

Add support for gathering information about installed software in the
format that the dashboard wants it

2010-07-26 Paul Larson <email address hidden>

Add support for parsing test results, and also a temporary 'parse'
command for displaying results after parsing. Once complete, the parse
command will be unnecessary as this step will be performed as part of
the results submission.

2010-07-26 Paul Larson <email address hidden>

Some minor cleanups

2010-07-22 Paul Larson <email address hidden>

Added tests for the parser

2010-07-22 Paul Larson <email address hidden>

Fix bad fixresults call

2010-07-19 Paul Larson <email address hidden>

Merge with trunk

2010-07-07 Paul Larson <email address hidden>

Appendall dict can now be specified when the AbrekTestParser object is
created, which will be appended to each test result in testlist.

2010-07-07 Paul Larson <email address hidden>

Add some more documentation

2010-07-02 Paul Larson <email address hidden>

Support parsing of test results, with example, and a command for
demonstration purposes only. In practice, the parse step will be part
of test submission, not a separate step that you have to run.

2010-07-19 Paul Larson <email address hidden>

Add a README and setup.py

2010-07-19 Paul Larson <email address hidden>

Add README and extend setup.py to add description and long_description

2010-07-19 Paul Larson <email address hidden>

setup.py added

2010-07-19 Paul Larson <email address hidden>

Add option parsing capabilities for commands

2010-07-16 Paul Larson <email address hidden>

Add option parsing capabilities for commands, fixed help so that it uses
these capabilities to also print usage information, and fixed up the
unit tests to expect the new behavior.

2010-07-14 Paul Larson <email address hidden>

Fix a bug with md5sum calculation

2010-07-14 Alexandros Frantzis <email address hidden>

Fix creation of command string for dependency installation.

2010-07-13 Paul Larson <email address hidden>

* Add list-installed to list installed tests
* Add list-tests command to list all known tests
* Add list-results command to list saved results
* Unit tests added

2010-07-09 Paul Larson <email address hidden>

Added tests for listing installed/known tests, and results

2010-07-09 Paul Larson <email address hidden>

improved config handling, thanks jamesw

2010-07-09 Paul Larson <email address hidden>

Handle errors gracefully when the directories for results and installed
tests don't even exist

2010-07-08 Paul Larson <email address hidden>

Add a command to list saved results

2010-07-08 Paul Larson <email address hidden>

Added list-tests command to list all known tests

2010-07-08 Paul Larson <email address hidden>

Add a command to list tests currently installed

2010-07-08 Paul Larson <email address hidden>

Added more tests for command related things

2010-07-06 Paul Larson <email address hidden>

Add a test for when help does not exist

2010-07-06 Paul Larson <email address hidden>

A few small fixes for command tests

2010-07-02 Paul Larson <email address hidden>

Added more tests for command related things

2010-07-06 Alexandros Frantzis <email address hidden>

Corrected module imports for builtins.py.

2010-07-02 Paul Larson <email address hidden>

Provide a simple help command and help on the existing commands

2010-07-02 Paul Larson <email address hidden>

return instead of print help

2010-07-02 Paul Larson <email address hidden>

use AbrekCmd.help()

2010-07-02 Paul Larson <email address hidden>

Provide a simple help command, and help on the existing commands

2010-06-30 Paul Larson <email address hidden>

Add uninstall command

2010-06-29 Paul Larson <email address hidden>

Add another builtin command to support removing installed tests

2010-06-29 Paul Larson <email address hidden>

Add support for running tests, a run command, and an example using this

2010-06-29 Paul Larson <email address hidden>

minor fixes and style cleanups in tests

2010-06-29 Paul Larson <email address hidden>

Fixed docstrings according to
http://www.python.org/dev/peps/pep-0257/#multi-line-docstrings

2010-06-29 Paul Larson <email address hidden>

fix old place where a return code had been expected, but should have
been a try/except block now

2010-06-29 Paul Larson <email address hidden>

some style changes

2010-06-29 Paul Larson <email address hidden>

add tests for AbrekTestRunner

2010-06-29 Paul Larson <email address hidden>

Updated syntax for raising exceptions

2010-06-28 Paul Larson <email address hidden>

Add support for running tests, a run command, some unit tests for it,
and modify the example to use the new capability

2010-06-28 Paul Larson <email address hidden>

Add support for installing tests. Specifically, this lets you:
* defining tests
* defining install steps for a test
* downloading tests and checking md5sums
* installing dependencies
* example provided as well

2010-06-25 Paul Larson <email address hidden>

one more installer test

2010-06-24 Paul Larson <email address hidden>

fix test_abrekcmd import

2010-06-24 Paul Larson <email address hidden>

Remove some leftovers

2010-06-24 Paul Larson <email address hidden>

Add some tests for AbrekTestInstaller

2010-06-24 Paul Larson <email address hidden>

fix md5 checking buglet

2010-06-22 Paul Larson <email address hidden>

catch errors at install time

2010-06-22 Paul Larson <email address hidden>

improved md5 checking

2010-06-22 Paul Larson <email address hidden>

better error handling

2010-06-21 Paul Larson <email address hidden>

Add classes to help with defining tests, installing tests, and example
code for defining how to install the stream test.

2010-06-25 Paul Larson <email address hidden>

improved geturl to handle bad urls and failed downloads better

2010-06-24 Paul Larson <email address hidden>

use shutil.copyfileobj in geturl

2010-06-24 Paul Larson <email address hidden>

improved geturl to handle bad urls and failed downloads better

2010-06-22 Paul Larson <email address hidden>

rename abrek.commands to abrek.command

2010-06-21 Paul Larson <email address hidden>

rename abrek.commands to abrek.command

2010-06-21 Paul Larson <email address hidden>

add some small utility functions that will be useful later

2010-06-21 Paul Larson <email address hidden>

use os.path.basename to get filename

2010-06-21 Paul Larson <email address hidden>

remove run_external in favor of commands.getstatusoutput

2010-06-21 Paul Larson <email address hidden>

safer write_file

2010-06-21 Paul Larson <email address hidden>

make the filename geturl chooses ignore query args if they exist

2010-06-21 Paul Larson <email address hidden>

Some small utility functions that will be useful later

2010-06-17 Paul Larson <email address hidden>

Add class for dealing with config information

2010-06-16 Paul Larson <email address hidden>

Convert to simple config class to manage data and config dirs. This may
eventually be used for other general configuration related tasks.

2010-06-15 Paul Larson <email address hidden>

utility functions to return the config dirs for various things, and
create them if they don't already exist

2010-06-15 Paul Larson <email address hidden>

handle missing or unknown commands

2010-06-14 Paul Larson <email address hidden>

skeleton for project

2010-06-14 Paul Larson <email address hidden>

stub initial import

Page 3 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.