lp:~pfalcon/linaro-license-protection/openid-exception-for-internal-hosts

Created by Paul Sokolovsky and last modified
Get this branch:
bzr branch lp:~pfalcon/linaro-license-protection/openid-exception-for-internal-hosts
Only Paul Sokolovsky can upload to this branch. If you are Paul Sokolovsky please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Paul Sokolovsky
Project:
linaro-license-protection
Status:
Merged

Recent revisions

168. By Paul Sokolovsky

Handle API access check for INTERNAL_HOSTS early in file_server().

167. By Paul Sokolovsky

Add test data for test_exception_internal_host_for_lic_and_openid().

166. By Paul Sokolovsky

file_server(): Simplify if/else logic, avoid needless ladders.

165. By Paul Sokolovsky

Factor out function to send file for download (send_file()).

164. By Paul Sokolovsky

Testcases for files protected by OpenID still being accessible by INTERNAL_HOSTS

These tests fail so far due to bug in the app logic. On the critical path
to fix lp:1112620.

163. By Paul Sokolovsky

Test separately for querying subdir access and access when no BUILD-INFO.txt.

Previous test_readFile_nonFile() was really confusing, there're two separate
cases to test for.

Also, make conclusions from previous wrong test patch due to presence of stray
BUILD-INFO.txt on local system: the real problem is not using actual dirs for
testdata, but trying to (ab)use source files directory as testdata: don't do
that, have each for its own purpose (source directory may contain arbitrary
files during development, but test corpus is just that).

162. By Paul Sokolovsky

Fix test_apply_to_dir: it is explicitly allowed to apply test to a dir.

BuildInfo class has code to handle that case.

161. By Paul Sokolovsky

Rename test_readFile_* -> test_apply_to_* to be up to date with semantics.

These tests no longer test just readFile() method, they test application
of BuildInfo class to a filesystem object. Also, if we test against
directory, call it such, and not "non-file", and add extra check that intended
name is indeed directory in the current dir.

160. By Paul Sokolovsky

Cleanup messages and make pep8 pass again.

159. By Paul Sokolovsky

Explicitly mention current version of the BUILD-INFO format.

And why do we have it at 0.1 still?

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:~linaro-automation/linaro-license-protection/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers