Created a face that I'd like to contribute #300
-
I had the impulse to create a minute repeater function for the Sensor Watch and was pleased to find that Jonas Termeau had already written repetition_minute_face. It's in the repo and available in the Sensor Watch Build tool. Thanks to Jonas for writing it. The implementation that Jonas wrote uses the more traditional hours, quarters, and minutes pattern. But for purposes of ease of use the decimal minute repeater pattern of hours, tens, and minutes is much more friendly. I copied Jonas' face, and named the copy minute_repeater_decimal_face. I changed it to a decimal minute repeater and added in a 500ms delay at the end of the hours and again at the end of the tens, to add a little gap of time between the groupings of tones. I'd like to contribute my modified face to the repo, and have it be available in the Sensor Watch Build tool. But sadly I'm VERY ignorant about using the source code repository to do so. I figured out how to install the various GIT applications on my Ubuntu build, authenticate the GIT CLI to GitHub, clone the repo to my Ubuntu machine (that I created solely for this purpose), etc. I then copied the repetition_minute_face.c and repetition_minute_face.h files to minute_repeater_decimal_face.c and minute_repeater_decimal_face.h respectively. Of course I had to edit the various include files to announce the existence of the new face. And I had to modify some of the function names in my new .C and .H files so they wouldn't duplicate the ones in the original repetition_minute_face. It all compiles and works fine. I have a build running on my watch that includes my modified minute_repeater_decimal_face. But in all of the above I didn't create any branches on GitHub, nor do I really know how to, or anything else. I know that ultimately I need to create a Pull Request. But I think there has to be a branch in order to do that. And honestly I'm just parroting things that I've read at this point. I know it's asking a lot, but if someone could tell me what I need to do in order to contribute the new face I'd be most appreciative. I think I learn pretty quick, and I have no problem searching and reading to learn how to do things. But I don't want to do anything wrong or make a mess of anything. So if someone who knows what they are doing can guide me that would be wonderful. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I realize that my request was way too much to ask. There's just too much to the whole git and GitHub universe. So I purchased some git and GitHub courses online and am getting up to speed. Maybe in a week or so I'll be ready to take a stab at a pull request for the face I created. |
Beta Was this translation helpful? Give feedback.
-
One thing I'd say is don't worry about:
You don't have permissions to mess things up. The way it will work, briefly, is:
The only thing that affects this project at all is the final step, and it's easy to just close it if it's wrong. So feel free to experiment and make mistakes! By the way, the Discord seems to be slightly more active than here (sadly 😆 ), so if you get stuck you might get more of a response there. |
Beta Was this translation helpful? Give feedback.
One thing I'd say is don't worry about:
You don't have permissions to mess things up. The way it will work, briefly, is:
The only thing that affects this project at all is the final step, and it's easy to just close it if it's wrong. So feel free to experiment and make mistakes!
By the way, the Discord seems to be slightly more active…