Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update project template: add TODO comments. #142

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

myronmarston
Copy link
Collaborator

This clearly labels all the things that need changes after the project template has been generated.

I also updated the spec to use a path instead of a git source for the Gemfile. I was getting odd errors from the git source:

Git error: command `git fetch --force --quiet --no-tags --depth 1 -- file:///Users/myron/Development/elasticgraph refs/heads/project_template:refs/heads/project_template` in directory /Users/myron/.rvm/gems/ruby-3.3.4/cache/bundler/git/elasticgraph-3c5d4d4f32023ab2bbd274f7df56f75f91a0e70e has failed.
Revision  does not exist in the repository file:///Users/myron/Development/elasticgraph. Maybe you misspelled it?

I don't know why it's looking for a project_template revision. Using a path source avoids the problem and ensures that the running spec uses the local code for the other gems even if they have uncommitted changes.

@myronmarston myronmarston force-pushed the myron/project-template-todos branch from b3c95e9 to e7f1f26 Compare February 5, 2025 18:26
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

This clearly labels all the things that need changes after the project template has been generated.

I also updated the spec to use a `path` instead of a `git` source for the `Gemfile`.
I was getting odd errors from the `git` source:

```
Git error: command `git fetch --force --quiet --no-tags --depth 1 -- file:///Users/myron/Development/elasticgraph refs/heads/project_template:refs/heads/project_template` in directory /Users/myron/.rvm/gems/ruby-3.3.4/cache/bundler/git/elasticgraph-3c5d4d4f32023ab2bbd274f7df56f75f91a0e70e has failed.
Revision  does not exist in the repository file:///Users/myron/Development/elasticgraph. Maybe you misspelled it?
```

I don't know why it's looking for a `project_template` revision. Using a `path` source avoids the
problem and ensures that the running spec uses the local code for the other gems even if they
have uncommitted changes.
@myronmarston myronmarston force-pushed the myron/project-template-todos branch from e7f1f26 to c56b130 Compare February 5, 2025 19:00
Copy link
Collaborator

@BrianSigafoos-SQ BrianSigafoos-SQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@myronmarston myronmarston merged commit 0977d02 into main Feb 5, 2025
18 of 19 checks passed
@myronmarston myronmarston deleted the myron/project-template-todos branch February 5, 2025 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants