From 01276bd0fd73dd156838a56de1e76ccca49c4552 Mon Sep 17 00:00:00 2001 From: iannucci Date: Wed, 12 Jul 2017 12:59:26 -0700 Subject: [PATCH] [milo] make logs uploadable and also remove it from up-dev. R=dnj@chromium.org, hinoka@chromium.org BUG= Review-Url: https://codereview.chromium.org/2978813002 --- milo/Makefile | 2 +- milo/logs/logs.go | 16 +++++++++++++++- milo/logs/main.go | 2 +- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/milo/Makefile b/milo/Makefile index 81d612cc7a6..b7ef7dd8f21 100644 --- a/milo/Makefile +++ b/milo/Makefile @@ -27,7 +27,7 @@ up-api: up-dispatch: appcfg.py -A luci-milo update_dispatch $(projdir)/frontend/appengine -up-dev: up-dev-logs +up-dev: gae.py upload -A luci-milo-dev --app-dir $(projdir)/frontend/appengine default pubsub api appcfg.py -A luci-milo-dev update_dispatch $(projdir)/frontend/appengine diff --git a/milo/logs/logs.go b/milo/logs/logs.go index 79daa7aed63..7399740c390 100644 --- a/milo/logs/logs.go +++ b/milo/logs/logs.go @@ -1,4 +1,18 @@ -package logs +// Copyright 2017 The LUCI Authors. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package main import ( "errors" diff --git a/milo/logs/main.go b/milo/logs/main.go index 789cd7e5ce4..f2657425c7a 100644 --- a/milo/logs/main.go +++ b/milo/logs/main.go @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -package logs +package main import ( "fmt"