Closed bendory closed 2 years ago
Thank you so much, I really appreciate it! I'll aim for the cleaner option, but I'm not the most GitHub savvy, so I'll see what I can do.
OK, so I created a new repo with GitHub Desktop for botletics/SIM7000-Shield-Library
. I rearranged the files according to how you described with /src/
and /extras/
. Please let me know if I did it correctly and I'll proceed to delete code from this repo and replace with README.
Some questions:
/extras/
directory in the new repo and just manage that here in this repo (along with the wiki), so I don't have copies in 2 different places?Thanks! 😁
- Would it be better to delete the
/extras/
directory in the new repo and just manage that here in this repo (along with the wiki), so I don't have copies in 2 different places?
Yes, I would do exactly that. Specifically:
README.md
pointing people to https://github.com/botletics/SIM7000-Shield-Library for source code.Once you've got the above, ping me and I'll make the Arduino submission.
Actually, all that's needed to move forward with the Library submission is in this PR; if you accept that PR, then my above comments are reduced to:
README.md
pointing people to https://github.com/botletics/SIM7000-Shield-Library for source code.But neither of these are blockers for the library submission -- once the PR is accepted, I can go ahead and submit.
Thanks! I merged the PR on the new repo!
What about versioning/releases though? When I create new releases, will it show up in Arduino IDE?
I think you're going to do releases by setting up tags in the new repo -- will send you details once I figure it all out.
OK thank you!
Documentation is available here.
This PR will work for submission as-is, but it turns out there are two issues that make it a little uglier than desired:
1) I've re-arranged everything to comply with the Library layout, and that means that I've broken all existing deep links into your Github repo. That's not friendly.
2) I've included everything in your original repo under the
/extras/
directory, but most of this is not needed for the Arduino library, and it makes the download unnecessarily large.IMO, a cleaner way to prepare the Arduino Library submission would be to:
1) Fork your repo into a new
botletics/SIM7000-Shield-Library
(or you pick some other name). 2) Delete all the non-code from there -- this is likely the entire/extras/
subdir. 3) Migrate code to the/src/
directory as I have done. 4) Updatebotletics/SIM7000-LTE-Shield
to delete the/Code/
directory; in its place, add aREADME
that sends users to the new Library.So this is your choice here as the Botletics owner -- you can accept this PR as is and I'll follow it with a PR for submission OR set up a fork (or even a completely empty repo) called
botletics/SIM7000-Shield-Library
(or feel free to pick some other name that you like) and I'll do the rest of the work to prepare the submission to Arduino.(There is a third option -- I can just fork your repo and prepare the Library submission completely independently from you, but I have to be honest and admit that I'm unlikely to keep my fork in sync with your ongoing development of the source code.)
LMK how I can help!