mirror of
https://github.com/vale981/melpazoid
synced 2025-03-04 08:51:39 -05:00
add simple reminders facility for self
This commit is contained in:
parent
0d954690d2
commit
a33c16bb82
2 changed files with 5 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
||||||
_requirements.el
|
_requirements.el
|
||||||
|
_reminders.json
|
||||||
pkg
|
pkg
|
||||||
*.elc
|
*.elc
|
||||||
|
|
||||||
|
|
|
@ -922,6 +922,10 @@ def check_melpa_pr(pr_url: str) -> None:
|
||||||
print(f"- Created: {repo_info.get('created_at', 'N/A')}")
|
print(f"- Created: {repo_info.get('created_at', 'N/A')}")
|
||||||
print(f"- Updated: {repo_info.get('updated_at', 'N/A')}")
|
print(f"- Updated: {repo_info.get('updated_at', 'N/A')}")
|
||||||
print(f"- Watched: {repo_info.get('watchers_count', 'N/A')}")
|
print(f"- Watched: {repo_info.get('watchers_count', 'N/A')}")
|
||||||
|
if (reminders := _MELPAZOID_ROOT / '_reminders.json').is_file():
|
||||||
|
for pattern, reminder in json.loads(reminders.read_text()).items():
|
||||||
|
if re.search(pattern, recipe):
|
||||||
|
_note(f"- REMINDER: {reminder}", CLR_WARN)
|
||||||
print('-->\n')
|
print('-->\n')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue