Commit Graph

59 Commits

Author SHA1 Message Date
mpl ca7f2e57e3 dev/devcam: use libsqlite3 tag when -sqlite=true
In 5894af5196 we chose not to vendor
sqlite3-binding.c and sqlite3-binding.h in, because we rely on the
system's libsqlite3 instead. But we never told devcam test to use the
corresponding necessary "libsqlite3" tag, which is now done in this CL.

Also, comment properly about it in .gitignore.

And make Travis CI use the devcam installed in $GOPATH/bin, instead of
specifically building one in tree.

Change-Id: I4b7bb1305669037f84063c7cf6c7f356c99f3edc
2018-09-14 22:16:23 +02:00
mpl 431c7df1ef .gitignore: keepy zembeds
Change-Id: I8b9539cc2ba26afe01c2e021c0b7a3677c5f0ecf
2018-07-27 02:47:47 +02:00
mpl e27e2302a4 misc/release: update release tools
misc/docker/release moved to misc/release because it did not really have
anything to do with making docker images, it just happens to use them.

misc/monthly.go has been moved to misc/release/make-release.go, and
reworked to be more generic.

misc/docker/dock.go has been trimmed down to only deal with creating
docker images

Fixes #1153

Change-Id: I4cb566551007300aefa6cb23714b90461f0e3e51
2018-05-11 02:51:55 +02:00
Brad Fitzpatrick ca76a40bbc Rename camlistored to perkeepd.
Updates #981

Change-Id: I8fe43c240c149074c23128a89ab426af9cbf94b4
2018-04-21 11:06:09 -07:00
mpl f8ef262ff9 make.go: clean up, notably remove the tmp source code mirroring
Fixes #1004

Change-Id: Iea01cfc601b8dd8f2a81fe5da40cdd272b164bb1
2018-04-17 19:39:46 +02:00
mpl da95a31f40 .gitignore: quit worrying about keys in tests
Since 'dep ensure' now auto-prunes go tests, we don't have to worry about
keys in tests anymore.

And as a side-effect:
Fixes #1039

Change-Id: I57ab1ffc6a29db8e7ff902ee2515112b1bd7de86
2018-04-03 18:12:09 +02:00
Paul Lindner 5894af5196 vendor: upgrade to a versioned dep of sqlite
Use the now renamed libsqlite3 build pragma. This requires
having sqlite3 installed on the system instead of using the
c code bundled in vendor (which is removed by the dep tool
by default)

1.6.0 corresponds with rev
github.com/mattn/go-sqlite3@6c771bb9887719704b210e87e934f08be014bdb1

Changelog: See https://github.com/mattn/go-sqlite3/releases

Change-Id: I48fc0bc005715b83805837f544e7fa7875e6d56a
2018-02-12 09:42:29 -08:00
Paul Lindner f1ccccb361 vendor: run dep ensure && dep prune on a clean client with latest dep
Move blacklisted directories from .gitignore to Gopkg.toml

This change also omits vendor/github.com/gopherjs/gopherjs/tests
now that dep wants to keep them.  It also omits the jws_test.go
file that was manually removed from the vendor tree.

Change-Id: If1eac02ba8807e861b68f2fbdd225206e2f29e78
2018-01-17 22:55:55 -08:00
Paul Lindner 020c6923ce vendor: fully switch to using the dep vendor tree management tool
Gopkg.toml / Gopkg.lock contain the full set of revisions used by
Perkeep now.  You can remove your entire vendor tree and

  dep ensure && dep prune

will restore you to a known good state.

This final change contains various files that were missing (like
LICENSE/README.md/tests) and also prunes a number of packages that
are transitively unused.

Fixes #889

Change-Id: I6ee6c4a4e14e2de6b6f33620eb7e2c44e97ce91b
2018-01-09 18:27:36 -08:00
Paul Lindner 1c63050b59 bin: add bin/pk* to list of ignored files, sort entries
Change-Id: If4d9ecbcef11a7883c7c60981cdc4eba6268f441
2018-01-05 19:39:20 +00:00
Paul Lindner 7ed0b7ec5c vendor/github.com/rwcarlsen/goexif: update and remove local modifications
Remove goexif local changes (a TODO, README and gofmt)
Update to rev: 709fab3d192d7c62f86043caff1e7e3fb0f42bd8
Use dep to prune unused files

Change-Id: Icce8885917b798b25eaeed4c98ff393ce0db66b8
2018-01-03 23:27:13 -08:00
Paul Lindner d5b55e51a8 Merge "all: update mongo to latest version" 2018-01-03 21:04:12 +00:00
Paul Lindner 364e125929 vendor/github.com/mattn/go-sqlite3: remove local customizations for sqlite3
This pulls in a clean upstream version of go-sqlite3 at revision
919cf4144a09abfd877330bbe735f3a243a84537 using the dep tool.

The current method of using the -sqlite flag in make.go appears to
enable conditional builds with/without sqlite3, obsoleting the
need for local modifications.

We also manually remove sqlite

Addresses: #889

Change-Id: I4d2c107cd12608ac0bcb7c0607629ecb2d7f880f
2018-01-03 12:10:43 -08:00
Paul Lindner 49b1af4a1b all: update mongo to latest version
The mongo integration was using a very old package.  It's using
a new namespace now.  Upgrade and adjust all call points

Removes labix.org/v2/mgo

Introduces gopkg.in/mgo.v2 from branch v2 with revision
  3f83fa5005286a7fe593b055f0d7771a7dce4655

Change-Id: I2784fca941998460f58e0ac8d3d51286401590b5
2018-01-03 10:49:07 -08:00
Paul Lindner bf4b74b5d6 vendor: remove more testdata from vendored packages
This is another step towards getting vendor managed by dep.

Addresses: #889

Change-Id: Ibdc3102eee25d6e873f4f418d17f0b4e46b38d9f
2018-01-01 01:48:48 -08:00
Paul Lindner 1d4d49ad7a vendor: update picago and oauth2 packages to latest version
Picago was very old and had local changes, update to latest release.
Also update to latest oauth2 as a transitive dependency.

Actual versions:

  github.com/tgulacsi/picago: 9e1ac2306c701ca7477a169b2b49902b7b4c58bf
  golang.org/x/oauth2: 197281d4e0ecd78c33865daf9c6e51626feefcb2

manually omit oauth2 testdata and tests that contain private keys to
make "devcam review" happy

This change was prepared using the forthcoming migration to the dep
tool.

Manually tested by setting up a new Picasa oauth config and importing
many photos.

Addresses: #889

Change-Id: I4d21941ccb4ade84ec658b5cfc8624e29f52be60
2017-12-31 15:23:15 -08:00
Paul Lindner 38ae5fe6db vendor: avoid retaining irrelevant vendor files and enumerate existing removals
Previous vendoring removed a number of files manually.  This enumerates the
existing removals in .gitignore and makes it easier to transition to another
dependency management system. We also take this opportunity to add travis and
gitignore files to the list and remove those from the vendor tree.

Part of solving #889

Change-Id: Ia1b1b11ea5f2065de3a069022c2ee346e2befe78
2017-12-28 15:36:01 -08:00
Paul Lindner f28eb3cce8 Remove appengine server and the old python blobserver
Change-Id: I734f4621f77ce902050e9b37805e7f8912f75e97
2017-11-30 19:13:37 -08:00
Paul Jolly 4581abc238 vendor: upgrade to use myitcv.io/react
myitcv.io/react replaces github.com/myitcv/gopherjs/react.

This commits also includes relevant changes to reflect the new API of
myitcv.io/react:

https://github.com/myitcv/react/wiki/Changelog

myitcv.io/react
rev 0b147f16090bc5007116c494ca7ea95f78ee4a16

myitcv.io/gogenerate (required by myitcv.io/react/cmd/reactGen)
rev bd69a94c96953d20e106734856b69d71c8fa122b

github.com/gopherjs/jsbuiltin (required by myitcv.io/react)
rev 67703bfb044e3192fbcab025c3aeaeedafad1f2f

Change-Id: I1951519d30455915aa2f75fbb418057f8075e27c
2017-08-30 08:46:33 +01:00
Paul Jolly a0d3b30657 make.go: ignore generated .js files
Fixes #931

Change-Id: I8aaca5f62bda516a0efcd0b2fc6982a794127df5
2017-06-12 21:20:36 +01:00
Steve Armstrong ab86174bc6 app/scanningcabinet: Compile scancab during make.go
Change-Id: Ia44afa903dfce6246d391b5d11a8b1e397f12e0c
2017-03-14 08:35:12 -07:00
mpl 155849d80b gitignore: scanningcabinet
Change-Id: Ie6d65bd894054536484991664a8d70c394d19aff
2017-03-07 00:28:10 +01:00
mpl c332b2881d gitignore: bin/website
Because 'go run make.go -website' now installs in bin/website

Change-Id: I4785ebd6711f0fd8297cff36ee1000e214dbdef2
2016-06-29 17:04:54 +02:00
Eric Drechsel f800fbdc0b
remove *.go from .gitignore
some shadowy process has been adding this line to my .gitignore,
and somehow it slipped in to my last commit.
I have no idea what is causing it..

Change-Id: I54c40d81006c3528fd69ae0169e49c130e2e3548
2016-04-11 09:25:04 -07:00
Eric Drechsel e0a9699c63
Update bazil.org/fuse
move to vendor
fix (lots) of breakages due to API changes

bazil.org/fuse: 37bfa8be929171feec943f3496bc4befdeaf10db

Change-Id: Ic92faf7585371027f3c521f7a24ae56d70d18547
2016-04-09 12:40:02 -07:00
mpl b2cdca7f11 docker/camlistored: use djpeg-static
Issue #564

Change-Id: I4efcbadcedff8f120497869e11784f372d93188e
2015-02-16 19:00:39 +01:00
Salmān Aljammāz 4e39af1086 Generate self-signed certs with the correct hostname.
This change makes gce/create.go generate a self-signed certificate
with the hostname from the -hostname argument and upload it to GCS
before creating a new camlistore instance.

It also makes camlistored use baseURL to figure out the hostname
when generating its self-signed certificate.

Change-Id: I64f85853dab34a7ce95e5d5997e58f2e5da43496
2014-11-13 15:53:40 +00:00
mpl a34f9e2669 publisher app
http://camlistore.org/issue/365

Change-Id: I281fdcbbe6a2bdf15607e75a21bc93b453f82c85
2014-06-15 00:03:03 +02:00
Brian Gitonga Marete cfc97bcdb4 gitignore: Ignore auto-generated file bin/hello.
Change-Id: I38e1eb056dbdd29ddabce620c9621cd22696839d
2014-05-16 17:51:40 +03:00
Brad Fitzpatrick 3e725e2a98 Change self-signed cert fingerprint to 80 bits of SHA-256.
More secondary preimage resistance. Also better docs and less vague and less promoted Android
UI.

Feedback from Adam Langley, but likely misinterpreted.

Change-Id: I3bf1029b6fc07c0b8dab2af44926aa87b0d4cbad
2014-01-04 16:37:33 -08:00
Brad Fitzpatrick c1edf39880 Add devcam to gitignore
Change-Id: If55797b29fc4f192501c335e3a663d939c23e4b0
2013-09-08 18:08:16 -07:00
Brad Fitzpatrick bb02bbb461 gitignore: ignore cross-compiled binaries
Change-Id: Ie19967e1492d2e14f348fe8800d62535958022e9
2013-08-26 17:53:15 -05:00
Brad Fitzpatrick 5ce2aa2ba0 Ignore server/appengine/source_root/
Change-Id: Iaf784f7d0df83b4e7a7425f37a2f2f60f7507114
2013-08-21 18:30:10 -05:00
Brad Fitzpatrick 59f5b41900 Use make.go from dev-* scripts. Updates Issue 140.
Change-Id: I0acea921e311b8228829dbad37ee502034c7dfe7
2013-06-29 13:52:01 -07:00
Brad Fitzpatrick 731ecd5e6c Add gopath back as ignored
Change-Id: I2cead8882a2f19c2ca7db50809769ff3065cf7c1
2013-06-11 14:12:56 +02:00
Brad Fitzpatrick 3b3c2288a2 New build tool. Should even work on Windows, if Go 1.1 is available, without MinGW/msys/etc.
Change-Id: Idb197cc2309ae294ce42d41c7d35333d1cfed48c
2013-06-11 00:55:17 +02:00
mpl 11a3f78691 WIP: switch from ui to newui
This CL proposes 4 changes:

1) When making the embeds, any .html files in newui is rewwritten
on the fly so that the resulting embed uses all.js instead of
individual .js files. all.js is the only javascript file embedded
for newui.

2) Various bugs and paths in the newui/*.js files were fixed so that
everything works when using all.js

3) pkg/server/ui.go was modified so that all features from ui should
now have an equivalent in newui, that is served through ui/new/.
In a next step, we can move back everything from newui/ into ui/ and
completely get rid of the old ui.

4) The published gallery now uses closure too.
In another next step, we should probably work on serving its static
part directly from an .html file or (include it in the zembed somehow?)
instead of generating it at every request. Or at least cache it?

This commit includes the zembeds in newui, except for zembed_all.js.go
since it is large and it would take a lot of space in the git history
everytime we change it.
The plan is to roll-sum it into chunks to address that problem.

Change-Id: I381d8ddf3a2bbe37e3c4b1c4bf423f16beffaaf4
2013-06-04 16:34:51 +02:00
Brad Fitzpatrick 1f31c21cec Generate and server Closure sourcemaps.
Change-Id: Ida17718eeffa1f5f1f3c849790d977921707d440
2013-02-10 17:39:18 -08:00
mpl 08a828de78 Makefile: checkjs, i.e run closure builder with the closure compiler
Change-Id: I0cd013ed132251379458c28f8947ab5efd2bdd0b
2013-01-26 00:13:50 +01:00
Brad Fitzpatrick f0dfc6b6b7 Make recent.html the main page.
Change-Id: I50fde12eacbc59e996b845e0ee4d898fe7ad2764
2012-12-11 18:29:58 -08:00
mpl 19edba9f64 newui layout, only for dev-server use for now.
Change-Id: I0e77b8088b2e04fd56e017678cb6e0a476b10682
2012-12-04 21:41:35 +01:00
Brad Fitzpatrick 59f431ae71 Ignore OS X noise.
Change-Id: I75fc2e3fd2a83ba47c91aa9b483abb07371873e4
2012-12-01 10:55:45 -08:00
Brad Fitzpatrick 64bbffc3b5 move fileembed from misc 2012-02-28 12:45:46 +11:00
Brad Fitzpatrick 50810b3da7 build: use our own isolated Go build root.
now everything is in <camliroot>/build/root.

will be necessary for other upcoming build changes.

Change-Id: I141c12c4097253d18e69175b6471a7c47430764f
2011-10-30 12:03:51 -07:00
Brad Fitzpatrick c830d15a5c Add dev-appengine helper script.
Change-Id: I58006eec12495cde6c3c7fb53b33bc38764f245c
2011-10-18 18:36:31 -07:00
Brad Fitzpatrick 5a0de07a47 build: let a .goroot symlink set the GOROOT environment and path.
Change-Id: I4e7d560fc4b9974af85b043e13157104894c27be
2011-10-15 19:41:43 -07:00
Brad Fitzpatrick 5fae3cf86a some more gitignore rules
Change-Id: If479546c271996d8cec08a1256cdf16ff596337e
2011-08-21 14:14:31 +04:00
Daniel Erat 0099626906 static sqlite work in progress
Change-Id: I33db758bfec3226c1d90a3ea79d79b90ee883720
2011-07-16 00:26:36 +00:00
Brad Fitzpatrick 3eb8d15c25 More gitignore.
Change-Id: I1181d748d437a64748742f90e4549e17413e011f
2011-07-06 11:50:53 -07:00
Brad Fitzpatrick 81547a9eb6 Support for embedding static files (html/js) into the resulting binary.
Also build system changes for start of move to camlistore.org/* namespace
for Go packages.

Not yet wired up to ui.go.

Potential changes required for Go's http package first:
http://codereview.appspot.com/4629047/

Change-Id: I3ae264a5401d3a41e0b6e42b12010f19a9c9dcf7
2011-06-17 14:13:01 -07:00