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

cloning with --recursive option resulting older than the newest version of models submodule #83

Open
marpi82 opened this issue Nov 30, 2019 · 3 comments

Comments

@marpi82
Copy link

marpi82 commented Nov 30, 2019

I have cloned pysunspec with command:
"$ git clone --recursive https://github.com/sunspec/pysunspec.git"

But i don't know why i have older version of submodule (models), in newest version brand:master manifest.py have:

...except Exception as e:

older one which was cloned with --recursive have:

...except Exception, e:
@altendky
Copy link
Contributor

Git submodules are always pinned to a specific version, in this case it is sunspec/models@94a0d35 from... uh... November 21, 2016. There should probably be some testing and then a PR to update this.

@marpi82
Copy link
Author

marpi82 commented Jan 24, 2020

It is possible to update models link to a newer one? sunspec/models@94a0d35 is quite old as altendky said

@altendky altendky mentioned this issue Jan 24, 2020
@altendky
Copy link
Contributor

FYI, you can git -C sunspec/models checkout master after you clone. If there are model updates later you can pull them from the submodule directory as well.

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

No branches or pull requests

2 participants