Merge lp://qastaging/~danilo/linaro-license-protection/cleanups into lp://qastaging/~linaro-automation/linaro-license-protection/trunk
Proposed by
Данило Шеган
Status: | Merged |
---|---|
Approved by: | Данило Шеган |
Approved revision: | 82 |
Merged at revision: | 76 |
Proposed branch: | lp://qastaging/~danilo/linaro-license-protection/cleanups |
Merge into: | lp://qastaging/~linaro-automation/linaro-license-protection/trunk |
Diff against target: |
1011 lines (+262/-198) 11 files modified
.bzrignore (+1/-0) .testr.conf (+1/-1) README (+49/-24) scripts/do_if_old.py (+2/-0) scripts/publish_to_snapshots.py (+58/-50) testplans/releases.txt (+1/-1) testplans/snapshots.txt (+1/-1) tests/__init__.py (+3/-7) tests/test_click_through_license.py (+11/-6) tests/test_php_unit.py (+4/-1) tests/test_publish_to_snapshots.py (+131/-107) |
To merge this branch: | bzr merge lp://qastaging/~danilo/linaro-license-protection/cleanups |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Deepti B. Kalakeri (community) | Approve | ||
Review via email:
|
Description of the change
Move testing/ to tests/, clean up code to pass pep8/pyflakes and improve the README.
To post a comment you must log in.
I am not able to run the tests successfully and it fails with the following
error:
AttributeError: 'module' object has no attribute 'test_php_unit'
This is same with the latest linaro- license- protection as well.
Also, I tried the testplan testing instructions given in the README, but it
fails with the same error.
PS: I tested this on Natty, so might be specific to my case.
Between I did not like the alignment in the following lines: publish_ to_snapshots. py' publish_ to_snapshots. py 2012-05-17 19:13:54 +0000 publish_ to_snapshots. py 2012-05-18 07:34:37 +0000
timestamp = f.read().strip()
f.close( )
os.remove( ts_file)
=== modified file 'scripts/
--- scripts/
+++ scripts/
@@ -119,9 +119,9 @@
- target_dir_path = os.path.join(
- target_path, 'android', args.job_type, ret_val[0],
- timestamp)
We could probably change it to join(target_ path, 'android',
+ target_dir_path = os.path.
+ args.job_type, ret_val[0],
+ timestamp)
else:
On Fri, May 18, 2012 at 1:31 AM, Данило Шеган <email address hidden> wrote:
> Данило Шеган has proposed merging infrastructure) /code.launchpad .net/~danilo/ linaro- license- protection/ cleanups/ +merge/ 106249<https:/ /code.launchpad .net/%7Edanilo/ linaro- license- protection/ cleanups/ +merge/ 106249> /code.launchpad .net/~danilo/ linaro- license- protection/ cleanups/ +merge/ 106249<https:/ /code.launchpad .net/%7Edanilo/ linaro- license- protection/ cleanups/ +merge/ 106249> list_default= testing. test_suite list_default= tests.test_ suite ======= ======= ======= =======
> lp:~danilo/linaro-license-protection/cleanups into
> lp:linaro-license-protection.
>
> Requested reviews:
> Linaro Infrastructure (linaro-
>
> For more details, see:
>
> https:/
>
> Move testing/ to tests/, clean up code to pass pep8/pyflakes and improve
> the README.
> --
>
> https:/
> Your team Linaro Infrastructure is requested to review the proposed merge
> of lp:~danilo/linaro-license-protection/cleanups into
> lp:linaro-license-protection.
>
> === added file '.bzrignore'
> --- .bzrignore 1970-01-01 00:00:00 +0000
> +++ .bzrignore 2012-05-17 20:00:28 +0000
> @@ -0,0 +1,1 @@
> +.testrepository
>
> === modified file '.testr.conf'
> --- .testr.conf 2012-01-12 14:07:05 +0000
> +++ .testr.conf 2012-05-17 20:00:28 +0000
> @@ -1,3 +1,3 @@
> [DEFAULT]
> test_command=python -m subunit.run $IDLIST
> -test_id_
> +test_id_
>
> === modified file 'README'
> --- README 2012-05-17 12:37:39 +0000
> +++ README 2012-05-17 20:00:28 +0000
> @@ -1,19 +1,31 @@
> Linaro downloads license protection
> =======
>
> -Linaro builds sometimes contain "binary blobs"—pieces of binary-only code
> which enable extra features like accelerated graphics or multimedia. These
> pieces are distributed under a separate license, and downloading images or
> collections containing them requires some sort of license protection.
> -
> -This code provides such license protection on the hosting web server:
> other parts of infrastructure need to properly integrate with it (see eg.
> android-build...