[yast-devel] New Hello World module
Per Josef Reidingers recommendation I have created a "Hello World" module. The idea is a complete working module with documentation, testing, and examples. This module then can be used as a base for a new yast-devtools script to bootstrap new module creation for beginners. I have put the files that I think should be there based on different sources. ToDo: Testing Packaging Please see: https://github.com/dwbenjamin/yast-hello-world/pull/1 Thank you for your time and help, David. -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Wed, 20 May 2020 11:57:36 -0600 "David Benjamin" <dbenjamin@ontario.k12.or.us> wrote:
Per Josef Reidingers recommendation I have created a "Hello World" module. The idea is a complete working module with documentation, testing, and examples. This module then can be used as a base for a new yast-devtools script to bootstrap new module creation for beginners.
I have put the files that I think should be there based on different sources.
ToDo: Testing Packaging
Please see: https://github.com/dwbenjamin/yast-hello-world/pull/1
Hi David, I commented this pull request. In general I think it looks reasonable, just it missing some tools we use - rubocop, travis, link in readme to yardoc documentation, etc. Of course question is how useful it will be for new comers, that is hard to judge for me. Maybe you can try to ask someone who never touch yast to try your hello world module and adapt it to his needs. And I think we should also link our tutorial module which do more functionality code wise - https://ancorgs.github.io/yast-journalctl-tutorial/
Thank you for your time and help, David.
Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
Hello! Dne 20. 05. 20 v 19:57 David Benjamin napsal(a):
Per Josef Reidingers recommendation I have created a "Hello World" module. The
Great!
idea is a complete working module with documentation, testing, and examples. This module then can be used as a base for a new yast-devtools script to bootstrap new module creation for beginners.
JFYI: GitHub supports so called template repositories. They are similar to forks, but unlike forks which copy the whole history and link to the parent repository the repositories created from a template start with a single commit (the current content) and are separate repositories not linked to a parent. See https://help.github.com/en/github/creating-cloning-and-archiving-repositorie... https://help.github.com/en/github/creating-cloning-and-archiving-repositorie... I think this approach would be better and easier to use than having a script in the devtools... -- Ladislav Slezák YaST Developer SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8 -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On Thu, 21 May 2020 11:05:20 +0200 Ladislav Slezak <lslezak@suse.cz> wrote:
Hello!
Dne 20. 05. 20 v 19:57 David Benjamin napsal(a):
Per Josef Reidingers recommendation I have created a "Hello World" module. The
Great!
idea is a complete working module with documentation, testing, and examples. This module then can be used as a base for a new yast-devtools script to bootstrap new module creation for beginners.
JFYI: GitHub supports so called template repositories. They are similar to forks, but unlike forks which copy the whole history and link to the parent repository the repositories created from a template start with a single commit (the current content) and are separate repositories not linked to a parent.
See
https://help.github.com/en/github/creating-cloning-and-archiving-repositorie...
https://help.github.com/en/github/creating-cloning-and-archiving-repositorie...
I think this approach would be better and easier to use than having a script in the devtools...
Good idea, I do not know about this github feature and it makes a lot of sense for me. Josef -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
On 21/5/20 10:58, josef Reidinger wrote:
On Thu, 21 May 2020 11:05:20 +0200 Ladislav Slezak <lslezak@suse.cz> wrote:
Hello!
Dne 20. 05. 20 v 19:57 David Benjamin napsal(a):
Per Josef Reidingers recommendation I have created a "Hello World" module. The Great!
idea is a complete working module with documentation, testing, and examples. This module then can be used as a base for a new yast-devtools script to bootstrap new module creation for beginners. JFYI: GitHub supports so called template repositories. They are similar to forks, but unlike forks which copy the whole history and link to the parent repository the repositories created from a template start with a single commit (the current content) and are separate repositories not linked to a parent.
See
https://help.github.com/en/github/creating-cloning-and-archiving-repositorie...
https://help.github.com/en/github/creating-cloning-and-archiving-repositorie...
I think this approach would be better and easier to use than having a script in the devtools...
Good idea, I do not know about this github feature and it makes a lot of sense for me.
+1 I didn't know either about that Github feature, which it's really nice.
Josef
-- David Díaz González YaST Team at SUSE Linux GmbH
On 5/21/20 10:05 AM, Ladislav Slezak wrote:
Hello!
Dne 20. 05. 20 v 19:57 David Benjamin napsal(a):
Per Josef Reidingers recommendation I have created a "Hello World" module. The
Great!
idea is a complete working module with documentation, testing, and examples. This module then can be used as a base for a new yast-devtools script to bootstrap new module creation for beginners.
JFYI: GitHub supports so called template repositories. They are similar to forks, but unlike forks which copy the whole history and link to the parent repository the repositories created from a template start with a single commit (the current content) and are separate repositories not linked to a parent.
See
https://help.github.com/en/github/creating-cloning-and-archiving-repositorie...
https://help.github.com/en/github/creating-cloning-and-archiving-repositorie...
I think this approach would be better and easier to use than having a script in the devtools...
Yes. I like the idea of having a template repository only with the skeleton and nothing else. Then, we can have a set of "sample" projects created from that template. We can use every "sample" to teach about something specific (e.g., how to create UI interaction, how to define a YaST CLI, etc). Thanks David for your collaboration! -- José Iván López González YaST Team at SUSE LINUX GmbH IRC: jilopez -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org To contact the owner, e-mail: yast-devel+owner@opensuse.org
participants (5)
-
David Benjamin
-
David Díaz
-
josef Reidinger
-
José Iván López González
-
Ladislav Slezak