-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interactive command-line interface and enhance subs mgmt
- Loading branch information
1 parent
ce733aa
commit 8da7236
Showing
6 changed files
with
121 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"github_token": "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", | ||
"notification_settings": { | ||
"email": "[email protected]", | ||
"slack_webhook_url": "your_slack_webhook_url" | ||
}, | ||
"subscriptions_file": "subscriptions.json", | ||
"update_interval": 86400 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
class ReportGenerator: | ||
def generate(self, updates): | ||
# Implement report generation logic | ||
report = "" | ||
for repo, events in updates.items(): | ||
report = "Latest Release Information:\n\n" | ||
for repo, release in updates.items(): | ||
report += f"Repository: {repo}\n" | ||
for event in events: | ||
report += f"- {event['type']} at {event['created_at']}\n" | ||
report += f"Latest Version: {release['tag_name']}\n" | ||
report += f"Release Name: {release['name']}\n" | ||
report += f"Published at: {release['published_at']}\n" | ||
report += f"Release Notes:\n{release['body']}\n" | ||
report += "-" * 40 + "\n" | ||
return report |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ | ||
"langchain-ai/langchain" | ||
] |