joshhayles commited on
Commit
f212b3e
·
verified ·
1 Parent(s): 93957bc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +50 -3
README.md CHANGED
@@ -1,3 +1,50 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ ---
4
+
5
+ # Resource Group Automation
6
+
7
+ Automatically create and manage resource groups for new repositories.
8
+
9
+ ## Overview
10
+ This project provides an automated solution for managing resource groups when new repositories are created. The goal is to save time. That's it.
11
+
12
+ The core functionality is implemented in `resource_group_automation.py`, which generates resource groups according to predefined rules.
13
+
14
+ Have fun with the errors. They can be addicting. :-)
15
+
16
+ ## Features / How it works
17
+ - Automatic resource group creation for new repositories
18
+ - Checks if a repository exists and creates it, if it doesn't
19
+ - Assigns the repository creator as an Admin / bossman of the new Resource Group
20
+ - Solid error handling with informative (and fun) (and _slightly_ unprofessional) log messages
21
+ - Comes with a built-in (well, it's a separate file) test file cleverly named `test.py`
22
+
23
+ ## Usage
24
+ Run the script with:
25
+ ```bash
26
+ python resource_group_automation.py
27
+ ```
28
+
29
+ ## Error Handling
30
+ All errors are logged with descriptive messages that will make you laugh instead of cry, making debugging easier, I mean, funner.
31
+
32
+ Example log messages include:
33
+ - "Houston, stand by: Creating repo with URL: {create_url}"
34
+ - "Son of a Lambda Cold Start! Failed to create repository: {response.text}"
35
+
36
+ ## Known Limitations
37
+ - No retry logic for API failures (future improvement)
38
+ - Would look at more advanced features with more time
39
+
40
+ ## Contributing
41
+ We welcome contributions! Please submit PRs with a clear and comedic description of your changes. Seriously, do not take yourself too seriously.
42
+
43
+ ## License
44
+ This project is licensed under the MIT License.
45
+
46
+ ---
47
+
48
+ ### DEEP Fail #001
49
+ If you're seeing `Son of a Nutcracker` in your logs... congratulations, you've discovered our **internal debugging Easter egg**.
50
+