mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #122] Handling request failures when build number is obtained from GitHub #51
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NBTX on GitHub (Aug 31, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/122
Originally assigned to: @NBTX on GitHub.
Per discussion in #121, this issue is to determine what we should do if we can't get the latest build number from GitHub at build time. The options I can think of are as follows:
package.jsonbut make sure the value inpackage.jsonstays up-to-date. (Perhaps use GitHub Actions or something to automatically change it to the version number in GitHub releases?) - Overall this is my preferred option./CC: @larouxn @liyasthomas
@liyasthomas commented on GitHub (Aug 31, 2019):
I vote for updating version number from package.json
This seems the correct way to handle this, it also helps in tags as well.
Lets hear from @larouxn as well
@NBTX commented on GitHub (Aug 31, 2019):
Actually funny thing, I decided 2 was my favorite option but then I came up with 3 because I wanted to put 3 things instead of 2 lol.
So thinking about it, I also prefer 3.
@larouxn commented on GitHub (Aug 31, 2019):
We should keep package.json version up to date anyway. So, if a solution for build numbers also ensures that, then that's a double win. 🙌
@NBTX commented on GitHub (Aug 31, 2019):
Exactly! ^
Guess I'll get working on 3 then haha
@liyasthomas commented on GitHub (Sep 15, 2019):
@NBTX this issue seems to be absolute. Would you mind closing it?
@NBTX commented on GitHub (Sep 29, 2019):
@liyasthomas absolute?
@liyasthomas commented on GitHub (Sep 29, 2019):
Sorry. Oftentimes, version number is still fetched from
package.jsoncausing version tag without "v" before the tag. This issue is persisting.@liyasthomas commented on GitHub (Nov 5, 2019):
Now the version number is correctly fetching from package.json and release tag, so I think I should this issue.