[LNT] r319982 - Remove `lnt update` command.

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 14:54:59 PST 2017


Author: fhahn
Date: Wed Dec  6 14:54:59 2017
New Revision: 319982

URL: http://llvm.org/viewvc/llvm-project?rev=319982&view=rev
Log:
 Remove `lnt update` command.

Summary:
`lnt update` is broken because of a missing import and there should be
no need for it anymore, because databases are upgraded when starting
the server. It is not mentioned in the docs.


Reviewers: MatzeB, kristof.beyls, cmatthews

Reviewed By: MatzeB

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D40704

Modified:
    lnt/trunk/lnt/lnttool/main.py

Modified: lnt/trunk/lnt/lnttool/main.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/lnttool/main.py?rev=319982&r1=319981&r2=319982&view=diff
==============================================================================
--- lnt/trunk/lnt/lnttool/main.py (original)
+++ lnt/trunk/lnt/lnttool/main.py Wed Dec  6 14:54:59 2017
@@ -199,17 +199,6 @@ def action_submit(url, files, select_mac
         sys.exit(1)
 
 
- at click.command("update")
- at click.argument("db_path")
- at click.option("--show-sql", is_flag=True, help="show all SQL queries")
-def action_update(db_path, show_sql):
-    """create and or auto-update the given database"""
-    init_logger(logging.INFO, show_sql=show_sql, stream=sys.stderr)
-
-    # Update the database.
-    lnt.server.db.migrate.update_path(db_path)
-
-
 @click.command("send-daily-report")
 @click.argument("instance_path", type=click.UNPROCESSED)
 @click.argument("address")
@@ -511,7 +500,6 @@ main.add_command(action_send_daily_repor
 main.add_command(action_send_run_comparison)
 main.add_command(action_showtests)
 main.add_command(action_submit)
-main.add_command(action_update)
 main.add_command(action_updatedb)
 main.add_command(action_view_comparison)
 main.add_command(group_admin)




More information about the llvm-commits mailing list