Daniel Martí
4d0eeea959
Remove rogue cpu.out profile
10 years ago
Daniel Martí
4a3c92d036
Merge pull request #17 from lolilolicon/zsh_completion
...
Add zsh completion for fdroidcl
10 years ago
lolilolicon
90b5837477
Add zsh completion for fdroidcl
...
Not implemented:
* Complete :VersionCode after AppID.
* For `install`, `uninstall` & `upgrade`, check devices.
* For `uninstall` / `upgrade`, pass `-i` / `-u` to `search`.
10 years ago
Daniel Martí
286b62f1ab
fdroidcl: delay looking up a device
...
This way, we can error e.g. on a bad category without unnecessarily
waiting for a device.
Also gofmt.
10 years ago
Daniel Martí
939e24137b
fdroidcl: fix another bad category error
...
Fixes #14 again.
10 years ago
lolilolicon
0bdf85ca96
search: filter results by last updated date ( #16 )
...
Select apps updated today (UTC):
fdroidcl search -d 1
Select apps NOT updated since a year ago:
fdroidcl search -d -365
The default value `-d 0` disables this filter.
Fixes #13
10 years ago
Daniel Martí
1737f562cc
fdroidcl: remove incorrect "no such category" error
...
Fixes #14 .
10 years ago
Daniel Martí
02aa950697
fdroidcl: add `list categories`
...
Useful to know what can go in `search -c`, either for humans or for
completion scripts.
Fixes #12 .
10 years ago
Daniel Martí
153203f504
fdroidcl: return instead of using os.Exit(0)
10 years ago
Daniel Martí
1635c158ec
fdroidcl: clear cache if any repo is updated
10 years ago
Daniel Martí
2178b9eb5b
Fix broken index test
10 years ago
Daniel Martí
70b68e1f41
fdroidcl: cache all metadata to disk
...
Reduces `fdroidcl` startup time if it needs the metadata (e.g. `search`)
from 300ms to 30ms on my machine.
Updates #12 .
10 years ago
Daniel Martí
34a8ab8a73
Remove *App from Apk type
...
This circular data flow was preventing serialization, useful for caching
into disk.
10 years ago
Daniel Martí
d01a29e20f
cmd/fdroidcl: small cleanup
10 years ago
Daniel Martí
6c2086eb7c
search: don't filter if there are no search terms
...
Updates #12 .
10 years ago
Daniel Martí
e2c37473b5
Be consistent about Apk receiver names
10 years ago
Daniel Martí
dfde86df7d
fieldtypes: inline redundant FromString funcs
10 years ago
Daniel Martí
e010e6b08a
Merge pull request #15 from lolilolicon/show
...
show: display permissions too
10 years ago
lolilolicon
cf56bde49a
show: s/Name/Version/
10 years ago
lolilolicon
4924323aff
show: display permissions too
...
Fixes #11
10 years ago
Daniel Martí
50a47d3744
adb: make ineffassign happy
...
We are throwing away the error, so make that obvious.
10 years ago
Daniel Martí
9ed01753a6
index: cleanup
10 years ago
Daniel Martí
860fcb9408
CI: bump go version
10 years ago
Daniel Martí
7d3820093e
Merge pull request #10 from jspricke/specify_version
...
Add option to specify the version code of an app
10 years ago
Jochen Sprickerhof
ef0dcc43b9
Add option to specify the version code of an app
...
Fixes #6
10 years ago
Daniel Martí
9a02ad4a35
README: add -u to go get
10 years ago
Daniel Martí
a25fb82ba7
Point at old adb import again
10 years ago
Daniel Martí
bb403cd4eb
Merge github.com/mvdan/adb back into fdroidcl
...
Splitting adb into a separate repo wasn't a good idea, as it's not very
useful in general and it's tightly coupled with fdroidcl.
10 years ago
Daniel Martí
2f5d34f72e
Make AdbProps() more robust via a regexp
...
The old code is more error-prone (what if there are multiple ": "? what
if the trimming doesn't work as expected?) and also contains more logic
than necessary.
10 years ago
Daniel Martí
4a6306831a
device: code simplification and cleanup
10 years ago
Daniel Martí
76362d7114
index: simplify IsCompatibleABI
10 years ago
Daniel Martí
1d4f145071
download: Use one device if connected
...
Otherwise, treat all apks as compatible. Remove all the VName matching
code as discussed on github, to stay close to what the Android client
does. We should not be using version names for anything relevant anyway.
10 years ago
Daniel Martí
7536dd744f
devices: add maybeOneDevice()
10 years ago
Daniel Martí
82bc981665
update: add missing error check
10 years ago
Daniel Martí
f274bbba69
Merge pull request #8 from relan/abi-sdk-filter
...
Implement ABI and API level filters
10 years ago
relan
23514cc5bd
README: Remove note about ABI and API level filters
...
They are implemented now.
10 years ago
relan
e36744405b
Remove unused CurApk()
...
APKs should not be suggested without knowledge about the device they
will be installed on.
10 years ago
relan
712ea6ddd4
Pick app icon from the latest APK
...
It does not really matter that much which APK we take app icon from.
They rarely change and it's a question of aestetics.
Just take the latest icon version, like we do with app description.
10 years ago
relan
2d330b5d14
search: consider suggestions
...
When "-u" or "-i" option is specified we have a connected device and can
suggest particular APKs. Without those options it's "free mode" and we
cannot make any assumptions.
10 years ago
relan
e48634ba6a
download: fetch all suggested APKs
...
This command is mostly useful when user does not have the device at the
moment. In this case we cannot make any assumptions about it.
10 years ago
relan
b367c5b4a2
show: avoid CurApk() use
...
This command should work without a connected device. But in this case we
cannot check APK compatibility and thus cannot suggest any particular
APK.
10 years ago
relan
bfb5dc8d22
upgrade: use suggested APK
10 years ago
relan
f9270077b6
install: use suggested APK
10 years ago
relan
c511c88854
Introduce APKs suggestions
...
Suggested APK must be compatible with a particular device. This is
always one of the set of suggested APKs. This set contains APKs with the
same version string but different version codes (flavours of the same
version, e.g. targeting different hardware architectures).
10 years ago
Daniel Martí
8fcbf90aa4
CI: Bump to 1.6.2
10 years ago
relan
cf513043a8
Request ABIs and API level from devices
...
Library users will be able to implement APK compatibility checking with
this information.
10 years ago
Daniel Martí
ee6c2eeceb
CI: Bump Go version
10 years ago
Daniel Martí
14ee06ac4d
Fallback method to find a current apk
...
Like the Android client, treat the latest compatible version as the
recommended version as a fallback method.
Fixes #7 .
10 years ago
Daniel Martí
f51c19c1bb
Switch to external package mvdan/adb
10 years ago
Daniel Martí
cb24828520
Use a map to identify errors
10 years ago