Skip to content

Commit

Permalink
Removed Zeit Now v1 support, closes #710
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Apr 4, 2020
1 parent 07e208c commit e0e7a0f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 311 deletions.
11 changes: 1 addition & 10 deletions datasette/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,16 +105,7 @@ async def inspect_(files, sqlite_extensions):
return data


class PublishAliases(click.Group):
aliases = {"now": "nowv1"}

def get_command(self, ctx, cmd_name):
if cmd_name in self.aliases:
return click.Group.get_command(self, ctx, self.aliases[cmd_name])
return click.Group.get_command(self, ctx, cmd_name)


@cli.group(cls=PublishAliases)
@cli.group()
def publish():
"Publish specified SQLite database files to the internet along with a Datasette-powered interface and API"
pass
Expand Down
1 change: 0 additions & 1 deletion datasette/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

DEFAULT_PLUGINS = (
"datasette.publish.heroku",
"datasette.publish.now",
"datasette.publish.cloudrun",
"datasette.facets",
"datasette.sql_functions",
Expand Down
133 changes: 0 additions & 133 deletions datasette/publish/now.py

This file was deleted.

14 changes: 10 additions & 4 deletions docs/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -99,19 +99,25 @@ If you run ``datasette plugins --all`` it will include default plugins that ship
$ datasette plugins --all
[
{
"name": "datasette_json_html",
"name": "datasette.sql_functions",
"static": false,
"templates": false,
"version": "0.4.0"
"version": null
},
{
"name": "datasette.publish.heroku",
"name": "datasette.publish.cloudrun",
"static": false,
"templates": false,
"version": null
},
{
"name": "datasette.facets",
"static": false,
"templates": false,
"version": null
},
{
"name": "datasette.publish.now",
"name": "datasette.publish.heroku",
"static": false,
"templates": false,
"version": null
Expand Down
163 changes: 0 additions & 163 deletions tests/test_publish_now.py

This file was deleted.

0 comments on commit e0e7a0f

Please sign in to comment.