question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`che-theia init` should work with commit hashes

See original GitHub issue

Describe the bug

When using che-theia I can check out out a particular commit hash, only branches. When we can’t compile against current Theia master, we usually fix the build against that last commit (by hash) that che-theia still compiles against. This means that when we’re in that state, our self-hosting process does not work with what we’re currently shipping.

Che version

  • latest
  • nightly
  • other: please specify

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
tsmaedercommented, Sep 24, 2020

Or we just remove the -b when checking out stuff. I dont’ think it would make a difference. Do you see one?

1reaction
azatsarynnyycommented, Sep 24, 2020

I see there are several options available:

./build.sh --build-args:${GITHUB_TOKEN},THEIA_COMMIT_SHA=1e09b816511769eb206494c1bac1a595e95795f9 --tag:next --git-ref:refs\\/heads\\/master --dockerfile:Dockerfile.alpine --skip-tests --branch:master
Read more comments on GitHub >

github_iconTop Results From Across the Web

Start a Git commit message with a hashmark (#) - Stack Overflow
Git will simply remove the line from the commit message. Is there a way to escape the hash? I tried \ and !...
Read more >
How to GetTree for a commit hash ? · Issue #1227 · src-d/go-git
Hello, I am wondering how to get tree changes from two commits hashes ? Currently I am just doing this: func main() {...
Read more >
git-init(1) Manual Page
This command creates an empty Git repository - basically a .git directory with subdirectories for objects , refs/heads , refs/tags ...
Read more >
2.3 Git Basics - Viewing the Commit History
By default, with no arguments, git log lists the commits made in that repository in reverse chronological order; that is, the most recent...
Read more >
Does amending a commit change its hash? - The Pragmatic Git
History containing three commits. Now, let's see what happens if we fix the typo using --amend . Will the hash change? $ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found