commit 28e18f7ecb05f20e722ab348ad25dd74b3403868 Author: Lucas Sta Maria Date: Fri Aug 22 20:30:15 2025 +0800 chore: create base project diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..30ee949 --- /dev/null +++ b/.gitignore @@ -0,0 +1,17 @@ +# Compiled +*.elc + +# Packaging +.cask/ +.eask/ +.eldev/ +.keg/ + +# Built distribution +dist/ + +# Backup files +*~ + +# Undo-tree save-files +*.~undo-tree \ No newline at end of file diff --git a/ghpr-api.el b/ghpr-api.el new file mode 100644 index 0000000..fcdb13f --- /dev/null +++ b/ghpr-api.el @@ -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 . + + +;;; Commentary: + +;; Provides procedures for interacting with the GitHub API, including +;; authentication. + +;;; Code: + +(provide 'ghpr-api) + +;;; ghpr-api.el ends here diff --git a/ghpr-repo.el b/ghpr-repo.el new file mode 100644 index 0000000..d78bb32 --- /dev/null +++ b/ghpr-repo.el @@ -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 . + + +;;; Commentary: + +;; ghpr-repo.el provides functionality for interacting with the local git +;; repository through Magit. + +;;; Code: + +(provide 'ghpr-repo) + +;;; ghpr-repo.el ends here diff --git a/ghpr-review.el b/ghpr-review.el new file mode 100644 index 0000000..8ef9608 --- /dev/null +++ b/ghpr-review.el @@ -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 . + + +;;; 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 diff --git a/ghpr.el b/ghpr.el new file mode 100644 index 0000000..15e4661 --- /dev/null +++ b/ghpr.el @@ -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 . + + +;;; 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