Add a local stack for ERC20 watcher #80
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
in progress
invalid
question
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/stack-orchestrator#80
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "pm-erc20-watcher-stack"
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?
Part of https://github.com/cerc-io/watcher-ts/issues/278
@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
i get
error: pathspec 'v0.2.19' did not match any file(s) known to git
even though i see the latest watcher-ts release of
v0.2.19
is over an hour ago. checkout works locally, maybe be that the cache docker pulls takes a bit to update?@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
@zramsay
Thanks for catching; it's actually because we need to pull the repo if it already exists in the dev-root directory.
Should be fixed now.
@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
awesome, yep
--pull
did the trick, thanks@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
A special branch should be implemented in
laconic-so setup-repositories
. I think there is already some support for non-main branches there but it's been a while since I tried it.@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
oh i see,
--pull
is only required because this PR isn't merged on to main, makes sensethe demo works like a charm
edit: bunch of missing info for metamask related stuff (e.g, token's currency symbol is GLD) but I can add to the demo later on
@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
@dboreham
I see that checking out to branches is currently supported using the
--branches-file
option.However, when I try checking out to the required release tag, it works if the
HEAD
is pointing to a branch and throws the following error if it's detached (checked out to a release tag for eg.):@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
--pull
is actually required because the repo we're trying to setup has a new remote branch / tag.@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
Hmm...ok. But do we need to support the "already detached" state? Wouldn't the repo have been cloned by stack-orchestrator, hence it wouldn't be detached?
@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
It might be in a detached state when we run
setup-repositories
the next time (re-running the demo for eg.).@ -0,0 +7,4 @@
COPY . .
RUN echo "Building watcher-ts" && \
git checkout v0.2.19 && \
Ok, this approach is fine until we add proper branch/tag-switching support.