-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: patch requests -> patchsets -> patches
Previously a patch request contained a series of patches. This worked great as an MVP but we are starting to see some issues with this impl. Previously the contrib and reviewer would push patches to git-pr similar to github pull requests. They all get merged into a single patchset. This mostly works until you want to start editing previous commits to keep the commit history tidy and relevant. For many workflows, going back to a previous commit and amending it to address feedback is desirable. This creates a new model, patchset, which is a mostly immutable container for patches. 1-to-many patch request to patchsets and 1-to-many patchset to patches. Think of these patchsets as revisions. This allows us to better organize collaboration and enable features like `git range-diff` to see changes between revisions. BREAKING CHANGE: sqlite dbs will have to be recreated as the new models are fundamentally different. Sorry for the inconvenience!
- Loading branch information
Showing
12 changed files
with
763 additions
and
336 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
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,18 @@ | ||
diff --git a/README.md b/README.md | ||
index 586bc0d..8f3a780 100644 | ||
--- a/README.md | ||
+++ b/README.md | ||
@@ -1,3 +1,3 @@ | ||
-# test | ||
+# Let's build an RNN | ||
|
||
-testing git pr | ||
+This repo demonstrates building an RNN using `pytorch` | ||
diff --git a/train.py b/train.py | ||
new file mode 100644 | ||
index 0000000..5c027f4 | ||
--- /dev/null | ||
+++ b/train.py | ||
@@ -0,0 +1,2 @@ | ||
+if __name__ == "__main__": | ||
+ print("train!") |
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,31 @@ | ||
From 59456574a0bfee9f71c91c13046173c820152346 Mon Sep 17 00:00:00 2001 | ||
From: Eric Bower <[email protected]> | ||
Date: Wed, 3 Jul 2024 15:18:47 -0400 | ||
Subject: [PATCH] feat: lets build an rnn | ||
|
||
--- | ||
README.md | 4 ++-- | ||
train.py | 2 ++ | ||
2 files changed, 4 insertions(+), 2 deletions(-) | ||
create mode 100644 train.py | ||
|
||
diff --git a/README.md b/README.md | ||
index 586bc0d..8f3a780 100644 | ||
--- a/README.md | ||
+++ b/README.md | ||
@@ -1,3 +1,3 @@ | ||
-# test | ||
+# Let's build an RNN | ||
|
||
-testing git pr | ||
+This repo demonstrates building an RNN using `pytorch` | ||
diff --git a/train.py b/train.py | ||
new file mode 100644 | ||
index 0000000..5c027f4 | ||
--- /dev/null | ||
+++ b/train.py | ||
@@ -0,0 +1,2 @@ | ||
+if __name__ == "__main__": | ||
+ print("train!") | ||
-- | ||
2.45.2 |
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
Oops, something went wrong.