Commit Graph

50 Commits

Author SHA1 Message Date
ekatek
f83c08e8fa introduces the 'meteor admin get-machine' command; changes publish not to publish binary builds
This commit does the following:
- Introduces the get-machine command. This command contacts the build farm server
 gets back a machine reservation and then opens    a secure shell to the machine (Alternatively,
 you can ask for a json). This also involved factoring out some   commands to deal with authenticated
 ddp from package-client into a more general auth-client.

- No longer publish binary builds in publish or publish-release; instead give the user a warning
to run get-machine and then publish-for-arch. Someone could ignore this: --existing-version and
publish-for-arch both publish binary builds, but you need to be    at least somewhat familiar with
what you are doing to run them.      Hopefully, you are running them  from a certified build machine,   but
if you are not,    then, well, it    is your    package.

Stuff remaining:
  - We are going to have a url to external documentation, but I haven't written it yet.
  - We are currently talking to   the test-build server, instead of the build server, so mac doesn't
work.
(Neither of those changes require significant tool changes)
2014-10-14 16:49:50 -07:00
Avital Oliver
9a6532c640 Work towards fixing the "do-not-update-to-rcs" self-test.
The test was failing because it was written to run against the real
local warehouse, instead of a stubbed one. When initializing the
Sandbox with an explicit warehouse, the test failed because of
incorrect logic piping the right path to the packages database
(in this case "test-packages.data.db" instead of "packages.data.db").

Unfortunately, the test still fails -- this time potentially due to a bug:
After publishing the package for the first time with `--create`,
the next step tries to update but gets the following error:
    There is no package named test:i1iyhj. If you are creating a
    new package, use the --create flag.
2014-10-12 23:08:26 -07:00
ekatek
b8d927851a increment client cache format to v2
The client cache in sql-land was broken: it sent over the wrong sync token as the default.
This meant that the server thought that this was a much older client. As a result, any
0.9.3+ packages with '_' or '||' in their versions/dependencies were filtered out. There is no
easy way to undo that sort of filtering without deleting the db for a variety of reasons, and if
we are going to delete the db, we might as well increment the version so we don't have to worry about
consistency.
2014-10-08 22:31:37 -07:00
Pascal Rapicault
8bb4904f21 fix comment 2014-09-23 10:12:12 -04:00
Pascal Rapicault
32a0178e88 merge devel 2014-09-22 22:59:15 -04:00
Nick Martin
4e78ed4873 Merge release-0.9.3 (commit '78f36994e332fe1eb80eb70eaa01fdca87155b82') into devel
Conflicts:
	tools/buildmessage.js
	tools/commands-packages.js
	tools/console.js
	tools/package-client.js
2014-09-19 21:54:51 -07:00
Nick Martin
6fec720a2a Use banners from v1 2014-09-19 18:15:18 -07:00
ekatek
717d9a0198 actually use v1.1, and save v2 for sql lite changes in catalog versioning 2014-09-19 16:56:25 -07:00
ekatek
e1311c407c function to check if a version constraint is compatible with pre0.9.3 versions, default token to send to syncNewData includes format specifications 2014-09-19 16:56:25 -07:00
ekatek
c35f4c51dc actually use v1.1, and save v2 for sql lite changes in catalog versioning 2014-09-19 13:47:37 -07:00
ekatek
f61638ca0a function to check if a version constraint is compatible with pre0.9.3 versions, default token to send to syncNewData includes format specifications 2014-09-19 13:41:01 -07:00
Pascal Rapicault
6cc7eee173 hook the remote catalog 2014-09-12 17:07:01 -04:00
Emily Stark
d5e3b2691a Make test packages server URL universe-friendly 2014-08-27 15:56:07 -07:00
Emily Stark
ec0d2bc8b5 Progress towards self-test using DEPLOY_HOSTNAME.
Still can't run all tests against testing servers because the testing
accounts server would need to be configured to send email.
2014-08-25 19:37:47 -07:00
Emily Stark
0c2dd7aff4 Change package stats server hostname 2014-08-21 18:23:37 -07:00
David Glasser
a6b44f77f8 Use the real package server. 2014-08-05 18:54:20 -07:00
David Glasser
2aa9fe6600 include a data.json in the bootstrap tarball
this will allow us to react to resetData by deleting packages, without
having that be everybody's first experience
2014-08-05 17:32:33 -07:00
David Glasser
cd57ac3535 isolate different servers' packages
also, in self-test, only set $METEOR_PACKAGE_SERVER_URL for the specific
runs that actually want the test server (using a tag) rather than kinda
always by accident
2014-07-28 20:45:08 -07:00
David Glasser
59d38b28bb minor cleanup 2014-07-25 14:12:21 -07:00
ekatek
83ac27f9c4 A separate data.json for each package server 2014-07-24 18:36:15 -07:00
ekatek
624571ba20 and more cleanup 2014-06-25 19:47:17 -07:00
ekatek
18e5bd3b6c check for obviously bad architectures 2014-06-25 19:16:56 -07:00
ekatek
b062d5b16e oops contact the right server 2014-06-25 16:11:12 -07:00
ekatek
b2dd824fc0 pagination support and also override arch to deploy to mother 2014-06-25 15:59:40 -07:00
David Glasser
7098c68260 print the main banners! 2014-06-09 16:58:22 -07:00
Emily Stark
71917200b7 Go back to https for package server 2014-05-28 12:06:04 -07:00
Emily Stark
9e3d6fc5cf Merge branch 'package-stats' into packaging
Conflicts:
	tools/commands.js
2014-05-13 13:43:48 -07:00
Emily Stark
573ef7489f Set test package stats server in environment variable 2014-05-13 11:58:31 -07:00
David Glasser
ce73d8855b Make tropohouse a class
The old singleton is now called tropohouse.default
2014-05-12 18:05:13 -07:00
Emily Stark
7ec7cb4d97 WIP: record package usage stats 2014-05-07 11:27:25 -07:00
David Glasser
9d70ff64c9 springboard almost works
springboarding happens infinitely because of build ids

have to manually bootstrap a tropohouse

fixed some other things:

 - store package server token in correct domain
 - copy files (eg packages pre-publish) with +x flags
 - catalog.getReleaseTrack works
 - don't pass release to uniload (Meteor.release will always
   end up 'UNILOAD')
 - fix building meteor-tool again
 - stop supporting apps without .meteor/release
 - merging unipackages with tools works

springboarding to warehouse releases totally not supported
2014-05-05 19:18:34 -07:00
David Glasser
714f98f9fe allow explicit override of package server 2014-05-02 17:52:27 -07:00
ekatek
78683884bb adding warning message about package server 2014-04-04 18:42:23 -07:00
ekatek
0530d57e11 some hack on config to be able to talk to the test package server 2014-04-04 18:41:51 -07:00
ekatek
fb26f842c7 use test server for now 2014-04-04 18:41:51 -07:00
ekatek
a4016e106e refactoring add to use constraint solver and .meteor/versions 2014-03-06 16:15:38 -08:00
David Glasser
6eff081da1 use .meteor in the checkout if you have a checkout 2014-03-05 15:14:05 -08:00
ekatek
ef70c87fc9 moving to the right storage mechanism and introducing the list command 2014-03-05 02:16:26 -08:00
ekatek
811f831ddc sync collection changes from the server 2014-02-28 15:28:55 -08:00
Emily Stark
d50049777f A quick-and-dirty 'meteor publish' command.
It more or less works, but needs lots of cleanup.
2014-02-28 02:03:02 -08:00
Geoff Schmidt
83183a98d0 remove unused, bitrotted engine transition test hook 2014-01-27 02:34:53 -08:00
Geoff Schmidt
0c69701a32 sandbox tests. for now, just the .meteorsession file. 2014-01-22 02:54:10 -08:00
Geoff Schmidt
9db5fec711 files: update code style 2013-12-30 06:11:04 -08:00
Geoff Schmidt
5e4607badb big refactor of command handling. only superficially tested. 2013-12-29 06:04:42 -08:00
Geoff Schmidt
410a585d76 Deferred registration! 2013-12-11 04:26:01 -08:00
Geoff Schmidt
d168857ab6 refactor http auth 2013-12-08 05:58:08 -08:00
Geoff Schmidt
48b44f33e1 Allow accounts to use a connection other than Meteor.connection. 2013-12-06 19:22:17 -08:00
Geoff Schmidt
d897249251 temporary provision for developing account server locally 2013-12-06 19:22:17 -08:00
Geoff Schmidt
a95f9eb480 Refactor/fiberize deploy RPCs. Add basic Meteor Accounts support. 2013-12-06 19:22:10 -08:00
Geoff Schmidt
a74e351705 centralize service configuration 2013-12-06 19:10:15 -08:00