martinthomson / i-d-template

A template for IETF internet draft git repositories
Other
208 stars 182 forks source link

"make -f lib/setup.mk" reports there are uncommitted changes #319

Closed chucklever closed 2 years ago

chucklever commented 2 years ago

While creating a fresh I-D repo, I seem to have gotten into an inconsistent state where I can't push the template files to the github repo. Earlier I had tried to update xml2rfc during this process and it went AWOL during the first attempt to push, and that may have confused the setup process (it's been fixed).

Any help appreciated.

anon-dhcp-195:rpc-tls-pseudoflavors cel$ make -f lib/setup.mk
lib/setup.mk:23: *** You have uncommitted changes or untracked files, please commit them before running setup.  Stop.
anon-dhcp-195:rpc-tls-pseudoflavors cel$ git diff
anon-dhcp-195:rpc-tls-pseudoflavors cel$ git status
On branch main
Your branch is up to date with 'origin/main'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    .circleci/
    .editorconfig
    .github/
    .gitignore
    CONTRIBUTING.md
    LICENSE.md
    Makefile
    lib/

nothing added to commit but untracked files present (use "git add" to track)
anon-dhcp-195:rpc-tls-pseudoflavors cel$
chucklever commented 2 years ago

It might simply be a matter of committing the above files by hand, but I wanted to check here first in case that would actually make matters worse.

chucklever commented 2 years ago

I removed the untracked files, and started the "fast track" setup again from "git clone https://github.com/martinthomson/i-d-template lib". Seems to have fixed the problem.