jakev / dtfmods-core

Core content for Android device testing
Apache License 2.0
6 stars 2 forks source link

Convert devdb and devdiff to python #37

Closed jakev closed 8 years ago

jakev commented 8 years ago

Both devdb and devdiff are old and in need of a refresh.

I'd like to have a single module, that supports the following:

exposed will be the most powerful, and can take advantage of the new userdb module. Examples:

# Running by default should tell me anything a third-party app can use
$ dtf devdb exposed

# We can also say only non-AOSP devices, like sysappdb
$ dtf devdb exposed --new-only

# But let's say I somehow can access the 'inet' group, what now?
$ dtf devdb exposed --new-only --as-user inet

# We should also support many users:
$ dtf devdb exposed --new-only --as-user inet,log,media
jakev commented 8 years ago

Added: https://github.com/jakev/dtfmods-core/commit/80cc5a38c852901e0beeea31d6cbafc194191173