Commit Graph

8 Commits

Author SHA1 Message Date
Brad Fitzpatrick d6a0b05df0 Rename import paths from camlistore.org to perkeep.org.
Part of the project renaming, issue #981.

After this, users will need to mv their $GOPATH/src/camlistore.org to
$GOPATH/src/perkeep.org. Sorry.

This doesn't yet rename the tools like camlistored, camput, camget,
camtool, etc.

Also, this only moves the lru package to internal. More will move to
internal later.

Also, this doesn't yet remove the "/pkg/" directory. That'll likely
happen later.

This updates some docs, but not all.

devcam test now passes again, even with Go 1.10 (which requires vet
checks are clean too). So a bunch of vet tests are fixed in this CL
too, and a bunch of other broken tests are now fixed (introduced from
the past week of merging the CL backlog).

Change-Id: If580db1691b5b99f8ed6195070789b1f44877dd4
2018-01-01 16:03:34 -08:00
mpl 281d2a16b6 clients/android: for building, make caching volume dirs on the host
The ~/.gradle and ~/.android dirs are mounted as volumes for the docker
container when building the app, because we want the gradle and android
deps to be cached on the host after they've been downloaded.

The build process was assuming that these dirs always already existed,
and this assumption makes the building process fail if they actually
don't.

Therefore this change creates the directories on the host if they don't
already exist.

Change-Id: I90b5f73db0ffcbe76adc12157e142091808bde2b
2017-11-14 19:24:56 +01:00
mpl 8a992c4652 clients/android: add multiple profiles feature
When one has/uses several Camlistore servers, it is tedious to change
all the configuration fields (host name, user, pass, certificate)
whenever one wants to upload to a different server from the one that is
currently configured.

Therefore, this change adds a new entry to the main menu that allows to
create new profiles, and to switch between profiles. Each profile has
its own configuration file, which enables to switch between servers
effortlessly once they're all configured.

https://storage.googleapis.com/camlistore-screenshots/Screenshot_20170606-151931.png
https://storage.googleapis.com/camlistore-screenshots/Screenshot_20170606-152007.png
https://storage.googleapis.com/camlistore-screenshots/Screenshot_20170606-152026.png
https://storage.googleapis.com/camlistore-screenshots/Screenshot_20170606-152041.png

Mininum SDK API increased to 11 because of SharedPreferences's
getStringSet.

Change-Id: I52e2de9e67e84188b1a4b16e046a0d47a35efc62
2017-06-29 17:01:44 +02:00
mpl 68cd59797a clients/android: migrate to gradle
Android applications nowadays are supposed to be developped with Android
Studio, which uses gradle as the build system, with the android plugin.

This change modifies the app setup and file tree layout so it can be
built with gradle (in docker by default) instead of with ant.

The initial motivation for this change is to make changes to the app in
Go, using 'gomobile bind' to call the Go code from java. As the canonical
example at golang.org/x/mobile/example/bind/hello uses gradle, the
first step was to migrate the app to gradle.

Even if we don't end up using gomobile, this change is interesting as it
makes it easier for android apps developpers to contribute to the app if
it uses the recommended "modern" way.

Change-Id: I8386012db640324b62e18ffc128b68ba971fa953
2017-06-04 01:41:35 +02:00
Brad Fitzpatrick 1e56abec90 Android: build in Docker, part 2. Build the Go binary child process too.
Now uploaded to the Google Play App Store Market.

Change-Id: I05f94eaf3ba70d694c593a892c15280364acf4ee
2014-02-08 17:10:02 -08:00
Brad Fitzpatrick c5c6fe1adc android: support for building with Docker
Change-Id: I0da100b62354ca1bda325f47397e4446deb1acec
2014-02-08 13:58:20 -08:00
Brad Fitzpatrick 077f362e2d android: add tips when SDK isn't configured. 2011-03-17 18:15:25 -07:00
Daniel Erat 43f113183c rename clients/android/uploader to clients/android
also change package from com.danga.camli to org.camlistore
2011-03-13 13:09:56 -07:00