Skip to content

Commit

Permalink
added copyright / GPL
Browse files Browse the repository at this point in the history
  • Loading branch information
alonswartz committed Apr 21, 2011
1 parent e848bdf commit 1b86502
Show file tree
Hide file tree
Showing 11 changed files with 110 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmd_launch.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
#!/usr/bin/python
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
"""
Launch a new cloud server
Expand Down
10 changes: 10 additions & 0 deletions cmd_list_appliances.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
#!/usr/bin/python
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
"""
List appliances
Expand Down
10 changes: 10 additions & 0 deletions cmd_list_backups.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
#!/usr/bin/python
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
"""
List backup records
Expand Down
10 changes: 10 additions & 0 deletions cmd_list_servers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
#!/usr/bin/python
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
"""
List servers
Expand Down
10 changes: 10 additions & 0 deletions cmd_terminate.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
#!/usr/bin/python
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
"""
Terminate a cloud server
Expand Down
10 changes: 10 additions & 0 deletions hub/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
from utils import API
from appliances import Appliances
from servers import Servers
Expand Down
10 changes: 10 additions & 0 deletions hub/appliances.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
from utils import AttrDict

class Appliance(AttrDict):
Expand Down
10 changes: 10 additions & 0 deletions hub/backups.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
import keypacket
from utils import AttrDict

Expand Down
10 changes: 10 additions & 0 deletions hub/formatter.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
def _fmt_bool(bool):
return "Yes" if bool else "No"

Expand Down
10 changes: 10 additions & 0 deletions hub/servers.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
from utils import AttrDict

class Server(AttrDict):
Expand Down
10 changes: 10 additions & 0 deletions hub/utils.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
#
# Copyright (c) 2011 Alon Swartz <alon@turnkeylinux.org>
#
# This file is part of HubTools.
#
# HubTools is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 3 of the License, or (at your
# option) any later version.
#
import simplejson as json
from pycurl_wrapper import Curl

Expand Down

0 comments on commit 1b86502

Please sign in to comment.