Comments (21)
We're getting the fix out!
from auto.
PR opened : #2426
from auto.
If anyone is running into this on Github Actions ubuntu runner, I have the worst temporary workaround ever:
- name: Install specific git version
run: |
sudo apt-get update
sudo add-apt-repository ppa:git-core/ppa
sudo apt install git=1:2.34.1-1ubuntu1.10 git-man=1:2.34.1-1ubuntu1.10 -y --allow-downgrades
don't judge me, it works.
from auto.
@ecstaticrainbow here
index a28a5eb2565d237bd0eff65e6222511287424b5a..464a642e71538ed8e79291b41bae821512eaa950 100644
--- a/dist/git.js
+++ b/dist/git.js
@@ -240,9 +240,11 @@ class Git {
const startSha = (await this.shaExists(start))
? await exec_promise_1.default("git", ["rev-parse", start])
: "";
+ const maxNumber = 2147483647;
const log = await gitlog_1.gitlogPromise({
repo: process.cwd(),
- number: Number.MAX_SAFE_INTEGER,
+ number: maxNumber,
fields: ["hash", "authorName", "authorEmail", "rawBody"],
// If start === firstCommit then we want to include that commit in the changelog
// Otherwise it was that last release and should not be included in the release.
from auto.
11.0.5 fixes the issue for me. Thank you for the quick turnaround!
from auto.
Git v2.43.2 seems to be the issue, v2.42.0 still works:
> git log -n 9007199254740991
fatal: '9007199254740991': not an integer
from auto.
This will fail once that version of git is not published in the
git-core
ppa anymore
Yup, very excited for that 😄
from auto.
If any contributors want to help maintain auto I'm open to the idea! auto
def hasn't been on my mind since moving to a more product focused role but I still use the project outside work a lot. I've now moved back to a platform team so I'll be more active.
(If anyone want to just that platform team we're hiring descript.com)
from auto.
Oddly, this issue resolved itself after removing my package-lock.json
file (there was a warning about it in the build, since we also have yarn.lock
and use yarn
mostly), and adding "license": "UNLICENSED",
to my package.json
, which fixed another warning. Did not think these two changes would fix the issue altogether, but that seems to be what has occurred. Closing.
from auto.
Actually, it seems the issue resolved itself only temporarily. Even with the changes I mentioned above still applied, I am getting the same error again with a new PR. So I still need help.
from auto.
I also started getting this exact error today.
"auto" version: v10.42.2
"git" version: v2.43.2
"node" version: v20.11.1
from auto.
Number.MAX_SAFE_INTEGER
seems to be too big now as of git
v2.43.2, we ended up patching it and using 2147483647
as the new safe maximum instead. This repo seems unmaintained though so I can highly recommend patching it manually for now
from auto.
@jazmon Do you have an example of the patch? Unsure what and where you'd put a fix. Thanks
from auto.
@jazmon could you still submit a PR? I can do it if you don't have time, just let me know.
Maybe we can get @hipstersmoothie to merge the fix for this blocking bug?
from auto.
I would but I have an open PR #2414 that fixes another bug here and it's been open for months without anyone looking at it, doesn't seem very productive to create any more PRs to fix things. Might need to fork this library instead
from auto.
@tferullo It works with these specific git versions. This should be fixed in this repo.
from auto.
Here is a shell command that applies the fix from @jazmon
sed -i 's/Number.MAX_SAFE_INTEGER/2147483647/' ./node_modules/@auto-it/core/dist/git.js
from auto.
Thanks @Zweer for the PR 👍
If anyone is running into this on Github Actions ubuntu runner, I have the worst temporary workaround ever:
- name: Install specific git version run: | sudo apt-get update sudo add-apt-repository ppa:git-core/ppa sudo apt install git=1:2.34.1-1ubuntu1.10 git-man=1:2.34.1-1ubuntu1.10 -y --allow-downgrades
don't judge me, it works.
This will fail once that version of git is not published in the git-core
ppa anymore
from auto.
This will fail once that version of git is not published in the
git-core
ppa anymoreYup, very excited for that 😄
I think you command is actually installing the ubuntu repo version not the ppa.
from auto.
Also having the same issue for my repos using Auto, starting today.
from auto.
11.0.5
is working well so far. Thank you @jazmon, @Zweer and @hipstersmoothie! Closing this issue.
from auto.
Related Issues (20)
- [Q or Feature Request] Need to bump version separately from `shipit` - currently get double bump HOT 9
- Error: Working directory is not clean, make sure all files are committed HOT 1
- Default labels conflict with Dependabot HOT 1
- Git-tag does not use latest tag when multiple tags on same commit
- Release process fails if release notes created by auto grow too big HOT 2
- NPM: Auto doesn't set latest GH release when publishing
- Github Actions - Error when creating release & Github package HOT 1
- fatal: ' 9007199254740991': not an integer HOT 4
- Missing version in CHANGELOG.md: Calculating the next version fails if tag contains a name/prefix
- `auto version` and `auto info` fail on [email protected]
- Support for ARM (arm64) architecture?
- "pr-check" behavior differs from "version" when no labels defined
- Release commit message when using @auto-it/npm and a Lerna monorepo has extraneous quotes
- Generates a 404 error in npm when attempting to access a repository within a GitHub organization HOT 1
- v11.1.3 Release is missing assets HOT 5
- `.nx/` makes all-contributors plugin think info has changed, crashes pipeline HOT 2
- Github abuse rate limit error
- Release changlog should show full PR title when it contains & (ampersand)
- workspace protocol in `peerDependencies` isn't replaced with `shipit` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto.