chore: create base project

This commit is contained in:
Lucas Sta Maria 2025-08-22 20:30:15 +08:00
commit 28e18f7ecb
Signed by: lucas
GPG key ID: F07FB16A826E3B47
5 changed files with 154 additions and 0 deletions

17
.gitignore vendored Normal file
View file

@ -0,0 +1,17 @@
# Compiled
*.elc
# Packaging
.cask/
.eask/
.eldev/
.keg/
# Built distribution
dist/
# Backup files
*~
# Undo-tree save-files
*.~undo-tree

28
ghpr-api.el Normal file
View file

@ -0,0 +1,28 @@
;;; ghpr-api.el --- Interactions for the GitHub API -*- lexical-binding: t -*-
;; This file is not part of GNU Emacs
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; Provides procedures for interacting with the GitHub API, including
;; authentication.
;;; Code:
(provide 'ghpr-api)
;;; ghpr-api.el ends here

36
ghpr-repo.el Normal file
View file

@ -0,0 +1,36 @@
;;; ghpr-repo.el --- Interactions with the local git repository -*- lexical-binding: t -*-
;; Author: Lucas Sta Maria
;; Maintainer: Lucas Sta Maria
;; Version: version
;; Package-Requires: (dependencies)
;; Homepage: homepage
;; Keywords: keywords
;; This file is not part of GNU Emacs
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; ghpr-repo.el provides functionality for interacting with the local git
;; repository through Magit.
;;; Code:
(provide 'ghpr-repo)
;;; ghpr-repo.el ends here

36
ghpr-review.el Normal file
View file

@ -0,0 +1,36 @@
;;; ghpr-review.el --- PR workflow functionality -*- lexical-binding: t -*-
;; Author: Lucas Sta Maria
;; Maintainer: Lucas Sta Maria
;; Version: version
;; Package-Requires: (dependencies)
;; Homepage: homepage
;; Keywords: keywords
;; This file is not part of GNU Emacs
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; ghpr-review.el provides the functionality for interacting with a pull request
;; -- from inserting PR comments to viewing the PR diffs.
;;; Code:
(provide 'ghpr-review)
;;; ghpr-review.el ends here

37
ghpr.el Normal file
View file

@ -0,0 +1,37 @@
;;; ghpr.el --- Interacting with GitHub pull requests from Emacs -*- lexical-binding: t -*-
;; Author: Lucas Sta Maria
;; Maintainer: Lucas Sta Maria
;; Version: 0.1
;; Package-Requires: (magit)
;; Homepage: https://git.priime.dev/lucas/ghpr.el
;; Keywords: git
;; This file is not part of GNU Emacs
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; ghpr.el provides capabilities for reviewing GitHub pull requests from the
;; comfort of Emacs. This is the main source package, mainly providing
;; interactive commands for controlling ghpr.
;;; Code:
(provide 'ghpr)
;;; ghpr.el ends here