Completing shell/git assignment (creating, listing, copying and movin…#1
Merged
Completing shell/git assignment (creating, listing, copying and movin…#1
Conversation
There was a problem hiding this comment.
Autograder results
| question | status | comment |
|---|---|---|
| Part 1 - Q1 | ✅ | |
| Part 1 - Q2 | ✅ | |
| Part 1 - Q3 | ✅ | |
| Part 1 - Q4 | ❌ | Missing directories: data/processed/server_logs, data/processed/user_logs, data/processed/event_logs |
| Part 1 - Q5 | ❌ | Missing files in data/processed/server_logs |
| Part 1 - Q6 | ❌ | Missing files in data/processed/user_logs; Missing files in data/processed/event_logs |
| Part 1 - Q7 | ✅ | |
| Part 1 - Q8 | ✅ | |
| Part 2 | ❌ | coworker-changes branch not found in commit history |
Please address the issues listed above.
…ing two new folders (one inside the other) in one line.
…into assignment It is found that the command "rf" from coworker does not exist thus discarding the incoming changes. If they mean to use "rm" then it will delete directory "data" and after that we would not be able to run last command to make the inventory file from folder "data"
There was a problem hiding this comment.
Autograder results
| question | status | comment |
|---|---|---|
| Part 1 - Q1 | ✅ | |
| Part 1 - Q2 | ✅ | |
| Part 1 - Q3 | ✅ | |
| Part 1 - Q4 | ✅ | |
| Part 1 - Q5 | ✅ | |
| Part 1 - Q6 | ✅ | |
| Part 1 - Q7 | ❌ | One or more files with ipaddr in data/raw not removed.; One or more files with ipaddr in data/processed/user_logs not removed |
| Part 1 - Q8 | ❌ | data/inventory.txt does not exist |
| Part 2 | ✅ |
Please address the issues listed above.
… not saved and showing <<<<<<< HEAD. Now removed this HEAD and related part
Owner
Author
|
The command "rf" in the incoming changes from coworker was not identified by bash thus rejecting it and keeping the original code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…g files/folders)
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Submitting Shell/Git assignment for the first time.
What did you learn from the changes you have made?
I learnt how to create/list/copy/move files/folders using bash shell and how to sync the local work (git) with GitHub.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
The approach I used seems to be efficient for this assignment
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
The command to unzip file was not working due to certificate check I think. Looking at slack channel, someone mentioned to add key -k in the assignment pre-defined commands which worked.
Other thing I found is when I tried to use windows power shell, multiple directories were not getting created while same is not true on bash shell. It means I should use bash shell to full utilize the bash command.
How were these changes tested?
I checked on running the command one by one on terminal which showed correct result however, when I run bash assignment.sh, it is not creating log folders. I'm uploading my assignment to see if Autograder flags the error.
A reference to a related issue in your repository (if applicable)
When I run bash assignment.sh, below folders are not created.
mkdir: cannot create directory ‘./data/processed/server_logs’: No such file or directory
mkdir: cannot create directory ‘./data/processed/user_logs’: No such file or directory
mkdir: cannot create directory ‘./data/processed/event_logs’: No such file or directory
Checklist