diff --git a/.dir-locals.el b/.dir-locals.el index b0f3594..809ecad 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -6,7 +6,7 @@ (eval . (progn (eglot-ensure) (add-hook 'before-save-hook 'eglot-format nil t))))) - (prog-mode . ((omg-pull-target-repo . "jiacai2050/oh-my-github") - (omg-pull-target-branch . "master") - (omg-pull-username . "jiacai2050") - (omg-pull-draft . "false")))) + (nil . ((omg-pull-target-repo . "jiacai2050/oh-my-github") + (omg-pull-target-branch . "master") + (omg-pull-username . "jiacai2050") + (omg-pull-draft . "false")))) diff --git a/CHANGELOG.org b/CHANGELOG.org index 781191c..ae10300 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -2,12 +2,13 @@ #+DATE: 2022-04-23T10:20:54+0800 #+AUTHOR: Jiacai Liu #+LANGUAGE: cn -#+EMAIL: jiacai2050+org@gmail.com +#+EMAIL: dev@liujiacai.net #+OPTIONS: toc:nil num:nil #+STARTUP: content * master(unrelease) +* v1.0.0 (2022-11-26) ** BREAKING CHANGES - All funtions/customs are prefix with =omg= instead of =oh-my-github= [[https://github.com/jiacai2050/oh-my-github/pull/47][#47]] ** New Features diff --git a/core/omg.c b/core/omg.c index 0ff7db0..de11ede 100644 --- a/core/omg.c +++ b/core/omg.c @@ -10,13 +10,13 @@ #include const char *HEADER_ACCEPT = "Accept: application/vnd.github.v3.star+json"; -const char *HEADER_UA = "User-Agent: omg-client/0.1.0"; +const char *HEADER_UA = "User-Agent: omg-client/1.0.0"; const char *API_ROOT = "https://api.github.com"; const char *GET_METHOD = "GET"; const char *DELETE_METHOD = "DELETE"; const char *POST_METHOD = "POST"; const char *PATCH_METHOD = "PATCH"; -// utils +// when in test, fetch less data #ifdef OMG_TEST const size_t PER_PAGE = 10; #else diff --git a/emacs/omg.el b/emacs/omg.el index 9c85654..3decead 100644 --- a/emacs/omg.el +++ b/emacs/omg.el @@ -3,7 +3,7 @@ ;; Copyright (C) 2022 Jiacai Liu ;; Author: Jiacai Liu -;; Version: 0.6.0 +;; Version: 1.0.0 ;; Package-Requires: ((emacs "28.1")) ;; Keywords: GitHub ;; URL: https://github.com/jiacai2050/oh-my-github