From f2f4a2f8bd488748eb77b549257f14cf302b6173 Mon Sep 17 00:00:00 2001 From: Luke Faraone Date: Wed, 16 Jan 2013 11:38:19 -0500 Subject: [PATCH] Move the API into a subdirectory for ease of imports. Previously, if users of our code put the API folder in their pyshared they would have to import it as "humbug.humbug". By moving Humbug's API into a directory named "humbug" and moving the API into __init__, you can just "import humbug". (imported from commit 1d2654ae57f8ecbbfe76559de267ec4889708ee8) --- bots/__init__.py | 0 README => humbug/README | 0 humbug.py => humbug/__init__.py | 0 {bin => humbug/bin}/humbug-send | 0 __init__.py => humbug/bots/__init__.py | 0 {bots => humbug/bots}/check-mirroring | 0 {bots => humbug/bots}/feedback-bot | 0 {bots => humbug/bots}/gcal-bot | 0 {bots => humbug/bots}/humbug_trac.py | 0 {bots => humbug/bots}/send-nagios-notification | 0 {bots => humbug/bots}/tddium-notify-humbug | 0 {bots => humbug/bots}/zephyr-mirror-crontab | 0 {bots => humbug/bots}/zephyr_mirror.py | 0 {bots => humbug/bots}/zephyr_mirror_backend.py | 0 {examples => humbug/examples}/curl-examples | 0 {examples => humbug/examples}/get-public-streams | 0 {examples => humbug/examples}/humbugrc | 0 {examples => humbug/examples}/list-subscriptions | 0 {examples => humbug/examples}/print-messages | 0 {examples => humbug/examples}/print-next-message | 0 {examples => humbug/examples}/send-message | 0 {examples => humbug/examples}/subscribe | 0 {examples => humbug/examples}/unsubscribe | 0 23 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 bots/__init__.py rename README => humbug/README (100%) rename humbug.py => humbug/__init__.py (100%) rename {bin => humbug/bin}/humbug-send (100%) rename __init__.py => humbug/bots/__init__.py (100%) rename {bots => humbug/bots}/check-mirroring (100%) rename {bots => humbug/bots}/feedback-bot (100%) rename {bots => humbug/bots}/gcal-bot (100%) rename {bots => humbug/bots}/humbug_trac.py (100%) rename {bots => humbug/bots}/send-nagios-notification (100%) rename {bots => humbug/bots}/tddium-notify-humbug (100%) rename {bots => humbug/bots}/zephyr-mirror-crontab (100%) rename {bots => humbug/bots}/zephyr_mirror.py (100%) rename {bots => humbug/bots}/zephyr_mirror_backend.py (100%) rename {examples => humbug/examples}/curl-examples (100%) rename {examples => humbug/examples}/get-public-streams (100%) rename {examples => humbug/examples}/humbugrc (100%) rename {examples => humbug/examples}/list-subscriptions (100%) rename {examples => humbug/examples}/print-messages (100%) rename {examples => humbug/examples}/print-next-message (100%) rename {examples => humbug/examples}/send-message (100%) rename {examples => humbug/examples}/subscribe (100%) rename {examples => humbug/examples}/unsubscribe (100%) diff --git a/bots/__init__.py b/bots/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/README b/humbug/README similarity index 100% rename from README rename to humbug/README diff --git a/humbug.py b/humbug/__init__.py similarity index 100% rename from humbug.py rename to humbug/__init__.py diff --git a/bin/humbug-send b/humbug/bin/humbug-send similarity index 100% rename from bin/humbug-send rename to humbug/bin/humbug-send diff --git a/__init__.py b/humbug/bots/__init__.py similarity index 100% rename from __init__.py rename to humbug/bots/__init__.py diff --git a/bots/check-mirroring b/humbug/bots/check-mirroring similarity index 100% rename from bots/check-mirroring rename to humbug/bots/check-mirroring diff --git a/bots/feedback-bot b/humbug/bots/feedback-bot similarity index 100% rename from bots/feedback-bot rename to humbug/bots/feedback-bot diff --git a/bots/gcal-bot b/humbug/bots/gcal-bot similarity index 100% rename from bots/gcal-bot rename to humbug/bots/gcal-bot diff --git a/bots/humbug_trac.py b/humbug/bots/humbug_trac.py similarity index 100% rename from bots/humbug_trac.py rename to humbug/bots/humbug_trac.py diff --git a/bots/send-nagios-notification b/humbug/bots/send-nagios-notification similarity index 100% rename from bots/send-nagios-notification rename to humbug/bots/send-nagios-notification diff --git a/bots/tddium-notify-humbug b/humbug/bots/tddium-notify-humbug similarity index 100% rename from bots/tddium-notify-humbug rename to humbug/bots/tddium-notify-humbug diff --git a/bots/zephyr-mirror-crontab b/humbug/bots/zephyr-mirror-crontab similarity index 100% rename from bots/zephyr-mirror-crontab rename to humbug/bots/zephyr-mirror-crontab diff --git a/bots/zephyr_mirror.py b/humbug/bots/zephyr_mirror.py similarity index 100% rename from bots/zephyr_mirror.py rename to humbug/bots/zephyr_mirror.py diff --git a/bots/zephyr_mirror_backend.py b/humbug/bots/zephyr_mirror_backend.py similarity index 100% rename from bots/zephyr_mirror_backend.py rename to humbug/bots/zephyr_mirror_backend.py diff --git a/examples/curl-examples b/humbug/examples/curl-examples similarity index 100% rename from examples/curl-examples rename to humbug/examples/curl-examples diff --git a/examples/get-public-streams b/humbug/examples/get-public-streams similarity index 100% rename from examples/get-public-streams rename to humbug/examples/get-public-streams diff --git a/examples/humbugrc b/humbug/examples/humbugrc similarity index 100% rename from examples/humbugrc rename to humbug/examples/humbugrc diff --git a/examples/list-subscriptions b/humbug/examples/list-subscriptions similarity index 100% rename from examples/list-subscriptions rename to humbug/examples/list-subscriptions diff --git a/examples/print-messages b/humbug/examples/print-messages similarity index 100% rename from examples/print-messages rename to humbug/examples/print-messages diff --git a/examples/print-next-message b/humbug/examples/print-next-message similarity index 100% rename from examples/print-next-message rename to humbug/examples/print-next-message diff --git a/examples/send-message b/humbug/examples/send-message similarity index 100% rename from examples/send-message rename to humbug/examples/send-message diff --git a/examples/subscribe b/humbug/examples/subscribe similarity index 100% rename from examples/subscribe rename to humbug/examples/subscribe diff --git a/examples/unsubscribe b/humbug/examples/unsubscribe similarity index 100% rename from examples/unsubscribe rename to humbug/examples/unsubscribe