sugarjar 1.1.3 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c689945af0d2bfb7b38477d19da9f58503a15b7be931ab021c4a121a07e6198c
4
- data.tar.gz: e5fb66f22db68dce1ef31199ea688ff768d753b5df65bc8479744c010d4072c3
3
+ metadata.gz: f79105e6ffa39ec2c1cdabd741fef41249e031ebe17d0cd5d0fbf4c3691ef4d7
4
+ data.tar.gz: 4a8fbf1f68268e9e0ffcee9dcbbd74d3e906ce3bb28aa278424f5959d377593b
5
5
  SHA512:
6
- metadata.gz: 9979e5aa13fd2a176cc5a391b9aef8353c1ddb7e63392ab6291f1781c3a99c39f9e4415a3c8cf02720ed2e0c6683a470978ba4ded3be9f2bb993120980a34863
7
- data.tar.gz: 81ba9f2079a9cc6a88e9052092795c722f9a48bd6f9d763ddc33dddd48fbde65049a16dca2ca66ad39d2a33f179d175a712d22517e6e8103a5089a8d26d9592d
6
+ metadata.gz: 3b910f580bf32c0dc88ba7c5504c2e2e14954ae599b29d4e6206aee050cea16b10c881ed44e511c3c86be7b019fc28248f844214e0c8a3f0c236a0718211b7c3
7
+ data.tar.gz: 5b3d5b5bf7c12ca23dec569b7a5f9161494349412fd5eba4f1572dfd0f37cc2f6c2036a7b799b0cb5861c4b18aeb80960a059a5baa3de3bea48656a4115116b5
data/CHANGELOG.md ADDED
@@ -0,0 +1,161 @@
1
+ # SugarJar Changelog
2
+
3
+ ## 2.0.1 (2025-05-12)
4
+
5
+ * Fix gemspec to include new library files
6
+
7
+ ## 2.0.0 (2025-05-11)
8
+
9
+ * Fix smartlog when on detached head
10
+ * Drop support for `hub`, and thus also `fallthru` mode
11
+ * Fix GHE handling when using `gh`
12
+ * Support `github_host` and `github_user` in repoconfig
13
+ * Replace `version` subcommand with `debuginfo` subcommand (`--version` still
14
+ exists)
15
+ * `smartclone`: set upstream for main branch to upstream remote when applicable
16
+ * Warn when deprecated options found in config file
17
+ * Fix handling of `--color` in some cornercases
18
+ * `subfeature` PRs: Fix bug where we would incorrectly deterine base branch
19
+ * Checks: Fix bug where we would lint even if repo was dirty causing confusing
20
+ output
21
+ * `feature` prefixes: Fix bug where we didn't look for the prefix on the base
22
+ branch when specified
23
+ * Better handle creating PRs to branches other than "main"
24
+ * Significantly improve unittest coverage
25
+ * Bump required Ruby to 3.2
26
+
27
+ ## 1.1.3 (2025-02-20)
28
+
29
+ * smartpullrequest: When working with `gh`, bypass its attempt to push,
30
+ bypassing unnecessary prompts and branch track mangling
31
+ * smartpullrequest: Better support for autofill
32
+ * smartpullrequest: Don't attempt to stack when in forked repo
33
+
34
+ ## 1.1.2 (2024-04-25)
35
+
36
+ * Add support for 'subfeatures'
37
+ * Add support for building stacked PRs based on 'subfeatures'
38
+ * smartpullrequest: only autofill in the PR when a single commit exists between
39
+ the base and us
40
+ * smartpullrequest: Add `--fill` option to let people opt-out of autofilling the
41
+ PR
42
+ * smartpullrequest: State that we're autofilling the PR when we do
43
+ * feature: Fix some corner cases where feature-prefixing didn't work
44
+ * pullsuggestions: Print the diff in the correct order
45
+ * feature/subfeature: set tracked branch for the user
46
+ * subfeature: automatically update tracked branch when previous tracked branch
47
+ disappears
48
+
49
+ ## 1.1.1 (2024-02-12)
50
+
51
+ * Relax ruby requirements to allow for easier packaging
52
+ * Handle aborted rebases better
53
+ * Add bash-completion script
54
+ * Various doc updates
55
+
56
+ ## 1.1.0 (2023-12-31)
57
+
58
+ * Fix include path for unittests for downstream packagers
59
+ * Bump ruby min versions
60
+ * Include Gemfile.lock for downstream packagers
61
+
62
+ ## 1.0.1 (2023-12-20)
63
+
64
+ * `co` support for featureprefix
65
+ * Add `include_from` and `overwrite_from` support to repoconfig
66
+ * Support relative paths for lints/units
67
+ * `smartpr` now uses `--fill`
68
+
69
+ ## 1.0.0 (2023-10-22)
70
+
71
+ * Add new "feature prefix" feature
72
+ * Implement `auto` setting for `github_cli`, default to `gh`
73
+ * Point people to Sapling
74
+ * Handle `sclone` of repos in personal orgs
75
+ * Better error when a subcommand isn't specified
76
+ * Various documentation fixes
77
+
78
+ ## 0.0.11 (2022-10-06)
79
+
80
+ * Properly handle slashes in branch names (closes #101)
81
+ * Support for running a command to determine checks (linters, units) to run
82
+ * Support for using `gh` CLI instead of `hub` (experimental)
83
+ * Add new `pullsuggestions` command to pull in (accepted) suggestions from a
84
+ GitHub code review.
85
+ * Detect mismatched primary branch names to assist with projects changing from
86
+ `master` to `main`
87
+
88
+ ## 0.0.10 (2021-12-06)
89
+
90
+ * Support 'main' as a default/primary branch
91
+ * Fix doc errors
92
+ * Handle rebase failures more gracefully, give users hints (closes #88)
93
+ * Handle SAML errors better (closes #95)
94
+ * Don't parse option args as subcommands (closes #89)
95
+
96
+ ## 0.0.9 (2021-02-20)
97
+
98
+ * Fix smartclone not honoring `--github-host`
99
+ * Use SSH protocol by default on short repo names
100
+ * Handle anonymous auth failures gracefully
101
+ * Better support for autocorrecting linters
102
+
103
+ ## 0.0.8 (2020-12-16)
104
+
105
+ * Colorize and simplify output
106
+ * New smartlog feature
107
+ * Doc fixes
108
+
109
+ ## 0.0.7 (2020-11-23)
110
+
111
+ * Add new command `smartpullrequest` (or `smartpr` or `spr`) for creating
112
+ pull requests (closes #51)
113
+ * Add checks for dirty repos before `smartpush`, `forcepush`, and
114
+ `smartpullrequest`
115
+ * Add `--ignore-dirty` and `--ignore-prerun-failure` options
116
+ * Handle when git prompts for a username (closes #52)
117
+ * Always use SSH for the forked remote (closes #56)
118
+ * Better handling of various forms of repo URLs
119
+ * Fix typo of `version` in help message
120
+ * Fix typos in `README.md`
121
+
122
+ ## 0.0.6 (2020-07-05)
123
+
124
+ * Add automatic commit template configuration (closes #38)
125
+ * bcleanall: Return to reasonable branch (fixes #37)
126
+ * Handle case where `hub` has no auth token (fixes #39)
127
+ * Fix crash in `smartclone`
128
+ * Improve logging
129
+ * Fix `sj unit` running lints instead of units
130
+
131
+ ## 0.0.5 (2020-06-24)
132
+
133
+ * Fix global config file handling
134
+ * Better logging around lint/unit failuers
135
+ * Handle incorrect tracked branches better
136
+
137
+ ## 0.0.4 (2020-06-17)
138
+
139
+ * Fix gemspec to include executables
140
+ * Add support for building omnibus releases
141
+
142
+ ## 0.0.3 (2020-06-08)
143
+
144
+ * Stop rescuing NoMethodError (fixing a variety of confusing error cases)
145
+ * Fix crash when no `on_push` entry is in repo config
146
+ * Document contribution process (`CONTRIBUTING.md`)
147
+ * Document code of conduct (`CODE_OF_CONDUCT.md`)
148
+
149
+ ## 0.0.2 (2020-06-06)
150
+
151
+ * Fix 'co' not accepting multiple arguments/options
152
+ * Fix README typos (#10, #11)
153
+ * Don't assume the ruby to run under
154
+ * Don't crash when no subcommands are passed in
155
+ * Don't assume paths (e.g. for hub, git)
156
+ * Fix crash for unknown method
157
+ * fix handling of empty config files
158
+
159
+ ## 0.0.1 (2020-06-05)
160
+
161
+ * Initial release
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,37 @@
1
+ # Contributing to SugarJar
2
+
3
+ We welcome contributions! Contributions come in a variety of forms: clear bug
4
+ reports, code, or spreading the word about this project.
5
+
6
+ If you'd like to contribute code, here's how.
7
+
8
+ Simply use SugarJar to make a fork and setup your repo:
9
+
10
+ ```shell
11
+ sj sclone jaymzh/sugarjar
12
+ ```
13
+
14
+ Make a branch for your change:
15
+
16
+ ```shell
17
+ sj feature mychange
18
+ ```
19
+
20
+ Make whatever changes you want, commit with a clear commit message, and a DCO.
21
+
22
+ We require [Developer Certificate of Origin
23
+ (DCO)](https://developercertificate.org/) via a 'signed-off-by:` line in your
24
+ commit (the `git commit -s` does this for you). The Chef community has a lot of
25
+ great documentation on this which you can find
26
+ [here](https://docs.chef.io/community_contributions/#developer-certification-of-origin-dco).
27
+
28
+ ```shell
29
+ git commit -as
30
+ ```
31
+
32
+ Make a pull request:
33
+
34
+ ```shell
35
+ sj spush
36
+ sj pull-request
37
+ ```