Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help4407


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting (CITS4407).
 
Options:
RSS cloud
Jump to:

Assignment 2, Q1

1 of 390 articles shown, currently no other people reading this forum.
photo
From: Christopher M.
Date: Mon 11th May 2020, 5:04pm
Actions: 
        Login-to-reply

 

"Mingbo Zhang" <22*9*0*[email protected]*u*e*t*u*a*e*u*a*> wrote:

> Hi Chris,
> 
> For the first task, do we need to detect the change of project content? When we run the shellscript, we just need to update the version number. Or our shellscript only update the version number when the content was changed. Thank you! 

Hello Mingbo,

Your solution doesn't need to detect any changes  (which you could do with 'diff' - but don't!)

We're imagining that the human programmer has decided it's time for the software's next version to be released,
and so they just type:

    make updateversion

which calls your shellscript, which either detects mismatched versions, or performs the change everywhere.

Related articles

Assignment 2, Q1 (all 16) RSS
├─ original   Mon 11th May 2020, 4:47pm, Mingbo Z.
├─ THIS   Mon 11th May 2020, 5:04pm, Christopher M.
├─ reply 2   Tue 12th May 2020, 12:03pm, Nathan S.
├─ reply 3   Tue 12th May 2020, 12:18pm, Christopher M.
├─ reply 4   Tue 12th May 2020, 12:39pm, Nathan S.
├─ reply 5   Tue 12th May 2020, 2:21pm, Christopher M.
├─ reply 6   Tue 12th May 2020, 2:47pm, Nathan S.
├─ reply 7   Tue 12th May 2020, 2:58pm, Christopher M.
├─ reply 8   Tue 12th May 2020, 7:56pm, David M.
├─ reply 9   Tue 12th May 2020, 10:42pm, Thanh T.
├─ reply 10   Wed 13th May 2020, 6:43am, Christopher M.
├─ reply 11   Wed 27th May 2020, 1:19pm, Matthew W.
├─ reply 12   Wed 27th May 2020, 3:42pm, Christopher M.
├─ reply 13   Wed 27th May 2020, 4:50pm, Jichunyang L.
├─ reply 14   Thu 28th May 2020, 9:39am, Christopher M.
└─ reply 15   Sun 31st May 2020, 11:38am, Akhil E.
This Page


Program written by: [email protected]
Feedback welcome
Last modified: 11:27am Sep 21 2020