Working With Cloned Module

(Difference between revisions)
Jump to: navigation, search
(Undo revision 4990 by Darci.burdge (talk))
(Undo revision 4992 by Darci.burdge (talk))
Line 2: Line 2:
 
{| border="1"
 
{| border="1"
 
|-  
 
|-  
|'''Title''' ||Work with a Cloned Module (Build and Execute gnome-photos module)
+
|'''Title''' || Name of the activity
|-   
+
|'''Overview''' ||Building is the process of converting the source code into an executable by compiling and linking. In this document, we will build and execute an open source module cloned using git.
+
 
|-
 
|-
|'''Prerequisite Knowledge''' ||Cloning a Module
+
|'''Overview''' || High level description of what the student will do
 +
|-
 +
|'''Prerequisite Knowledge''' || What topics and tools does the student need to know prior to beginning this activity?
 
|-
 
|-
|'''Learning Objectives''' ||1. Build a previously cloned module 2. Execute the cloned module.
+
|'''Learning Objectives''' || What should the student be able to do after completing completed this activity?
 
|}
 
|}
  
 
=== Background: ===
 
=== Background: ===
For this lab, we will be using previously cloned module gnome-photos to demonstrate building and executing.
+
Is there background reading material?
  
=== Directions: ===
+
Are there other activities the student should have done first?
'''1. Before Starting:'''
+
  
Before running any of the command below, make sure that you are a sudo user. If not type the command $ su and then enter the root password when prompted.
+
What is the rational for this activity?
Also, make sure you are in the cloned directory using cd command.
+
  
'''2. Start the Build:''' Type the following command in the terminal to start building:
+
Include helpful hints to faculty here.
  dnf builddep gnome-photos
+
  
Note: To build a module, make sure that you have all the build dependencies available. Some modules depend on external libraries.
 
  
Accept the dependency downloads whenever prompted. Wait till the process completes.
+
=== Directions: ===
 +
What should the student do?
  
'''3. Finish the Build:'''
 
  
Once the process completes, create a new directory under /opt directory as /opt/gnome-photos
+
=== Deliverables: ===
 +
What will the student hand in?
  
mkdir /opt/gnome-photos
 
  
Now execute the autogen.sh file under the cloned directory to build the module to newly created directory.
+
=== Assessment: ===
 +
How will the activity be graded?
 +
 +
How will learning will be measured?
  
./autogen.sh – -prefix =/opt/gnome-photos
+
Include sample assessment questions/rubrics.
  
'''4. Install the Module:'''  
+
{| border="1" class="wikitable"
 +
! Criteria
 +
! Level 1 (fail)
 +
! Level 2 (pass)
 +
! Level 3 (good)
 +
! Level 4 (exceptional)
 +
|-
 +
| '''The purpose of the project'''
 +
|
 +
|
 +
|
 +
|
  
Once completed, just install the program using make command as shown below:
+
|-
  make install
+
| '''Why the project is open source'''
 +
|
 +
|
 +
|
 +
|
  
 +
|}
  
''5. Documentation:'''
+
=== Comments: ===
 
+
What should the instructor know before using this activity?
Create a file in your favorite editor. Add all your screenshots and then answer the following questions in the next section in your file.
+
Also, review the following rubric for generating and submitting your work.  Once you are satisfied that your lab is complete, create a pdf file and name it FossGnomePhotoCloned_yourlastnamefirstinitial.pdf. Upload to your course management system.
+
 
+
=== Deliverables: ===
+
Create a word document and include screenshots of different stages of installations in it. In addition, answer the questions.
+
 
+
 
+
'''Lab Rubric (100 points)'''
+
 
+
Screenshots (50 points) Start the Build (10 points); Accept (10 points); Finish the Build (10 points); Create Directory and autogen (10 points); Install Module (10 points)
+
 
+
Lab Questions (50 points)
+
 
+
• Compare dnf and yum with each other. Discuss on the similarities as well as differences. (10 points)
+
What is dnf builddep Plugin? (10 points) )
+
• What does the autogen.sh do? (10 points)
+
• Name two disadvantages of using a virtual machine. (10 points)
+
• Grammar, Spelling and Neatness (5 points) – named file correctly and uploaded properly on time. (5 points)
+
 
+
  
 +
What are some likely difficulties that an instructor may encounter using this activity?
  
  
Line 70: Line 67:
 
{| border="1"
 
{| border="1"
 
|-  
 
|-  
|'''Knowledge Area/Knowledge Unit''' || Build and Execute
+
|'''ACM Knowledge Area/Knowledge Unit''' || What ACM Computing Curricula 2013 knowledge area and units does this activity cover? [[ACM_Body_of_Knowledge]]
 
|-
 
|-
|'''Topic''' || Cloning, Build/Execute
+
|'''ACM Topic''' || What specific topics are addressed? The Computing Curriucula 2013 provides a list of topics - https://www.acm.org/education/CS2013-final-report.pdf
 
|-
 
|-
|'''Level of Difficulty''' || Difficult
+
|'''Level of Difficulty''' || Is this activity easy, medium or challenging?
 
|-
 
|-
|'''Estimated Time to Completion''' ||2 hours
+
|'''Estimated Time to Completion''' || How long should it take for the student to complete the activity?
 
|-
 
|-
|'''Materials/Environment''' || Fedora, gnome-photos
+
|'''Materials/Environment''' || What does the student need?  Internet access, IRC client, Git Hub account, LINUX machine, etc.?
 
|-
 
|-
|'''Author''' || Mohsen Dorodchi
+
|'''Author''' || Who wrote this activity?
 
|-
 
|-
|'''Source''' ||
+
|'''Source''' || Is there another activity on which this activity is based?  If so, please provide a link to the original resource.
 
|-
 
|-
|'''License''' ||
+
|'''License''' || Under which license is this material made available? (http://creativecommons.org/licenses/)
 
|}
 
|}
 +
 +
=== Suggestions for Open Source Community: ===
 +
Suggestions for an open source community member who is working in conjunction with the instructor.
  
  
 
--------------------
 
--------------------
 +
This work is licensed under a
 +
[http://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0 International License]
  
 +
[[File:CC_license.png]]
  
 
[[Category: Learning_Activity]]
 
[[Category: Learning_Activity]]
[[Category: Subcategory: Working with Cloned Module]]
+
[[Category: LEARNING_ACTIVITY_SUBCATEGORY]]

Revision as of 18:45, 4 December 2015

Title Name of the activity
Overview High level description of what the student will do
Prerequisite Knowledge What topics and tools does the student need to know prior to beginning this activity?
Learning Objectives What should the student be able to do after completing completed this activity?

Background:

Is there background reading material?

Are there other activities the student should have done first?

What is the rational for this activity?

Include helpful hints to faculty here.


Directions:

What should the student do?


Deliverables:

What will the student hand in?


Assessment:

How will the activity be graded?

How will learning will be measured?

Include sample assessment questions/rubrics.

Criteria Level 1 (fail) Level 2 (pass) Level 3 (good) Level 4 (exceptional)
The purpose of the project
Why the project is open source

Comments:

What should the instructor know before using this activity?

What are some likely difficulties that an instructor may encounter using this activity?


Additional Information:

ACM Knowledge Area/Knowledge Unit What ACM Computing Curricula 2013 knowledge area and units does this activity cover? ACM_Body_of_Knowledge
ACM Topic What specific topics are addressed? The Computing Curriucula 2013 provides a list of topics - https://www.acm.org/education/CS2013-final-report.pdf
Level of Difficulty Is this activity easy, medium or challenging?
Estimated Time to Completion How long should it take for the student to complete the activity?
Materials/Environment What does the student need? Internet access, IRC client, Git Hub account, LINUX machine, etc.?
Author Who wrote this activity?
Source Is there another activity on which this activity is based? If so, please provide a link to the original resource.
License Under which license is this material made available? (http://creativecommons.org/licenses/)

Suggestions for Open Source Community:

Suggestions for an open source community member who is working in conjunction with the instructor.



This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License

CC license.png

Personal tools
Namespaces
Variants
Actions
Events
Learning Resources
HFOSS Projects
Evaluation
Navigation
Toolbox