Skip to content

Assignmenet finished - This update is to recreate a new PR.#3

Open
rabiaimra wants to merge 7 commits into
mainfrom
assignment
Open

Assignmenet finished - This update is to recreate a new PR.#3
rabiaimra wants to merge 7 commits into
mainfrom
assignment

Conversation

@rabiaimra
Copy link
Copy Markdown
Owner

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

I have added and then updated the shell scripts for the Shell / Git assignment. The purpose was to automate file processing, move or remove files based on given rules in the assignment.

What did you learn from the changes you have made?

I learned to use shell commands to conduct the changes related to managing files given in the assignment.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

For now, the only approach I can think of is to manually copy, move, or delete the files/folders using the regular way on my computer. But without shell scripts, I wouldn't be able to automate and push these changes to GitHub.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

I faced a challenge understanding Q8. First, I thought it requires listing all the directories in the subfolders of ./data/processed. But then I realized that it says files, not directories. So, I updated my code.

How were these changes tested?

I tested the scripts on my computer on the real directory (shell/activities/assignments) and also on a sample directory (shell/activities/assignment_test_clean). I checked whether the files are organized as requested in the assignment.

A reference to a related issue in your repository (if applicable)

Checklist

  • I can confirm that my changes are working as intended

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1 data directory does not exist
Part 1 - Q2 rawdata not moved to data/raw
Part 1 - Q3 ls command not run
Part 1 - Q4 Missing directories: data/processed/server_logs, data/processed/user_logs, data/processed/event_logs
Part 1 - Q5 No server log files in data/raw
Part 1 - Q6 No user log files in data/raw; No event log files in data/raw
Part 1 - Q7
Part 1 - Q8 data/inventory.txt does not exist
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1 data directory does not exist
Part 1 - Q2 rawdata not moved to data/raw
Part 1 - Q3 ls command not run
Part 1 - Q4 Missing directories: data/processed/server_logs, data/processed/user_logs, data/processed/event_logs
Part 1 - Q5 No server log files in data/raw
Part 1 - Q6 No user log files in data/raw; No event log files in data/raw
Part 1 - Q7
Part 1 - Q8 data/inventory.txt does not exist
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1 data directory does not exist
Part 1 - Q2 rawdata not moved to data/raw
Part 1 - Q3 ls command not run
Part 1 - Q4 Missing directories: data/processed/server_logs, data/processed/user_logs, data/processed/event_logs
Part 1 - Q5 No server log files in data/raw
Part 1 - Q6 No user log files in data/raw; No event log files in data/raw
Part 1 - Q7
Part 1 - Q8 data/inventory.txt does not exist
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1 data directory does not exist
Part 1 - Q2 rawdata not moved to data/raw
Part 1 - Q3 ls command not run
Part 1 - Q4 Missing directories: data/processed/server_logs, data/processed/user_logs, data/processed/event_logs
Part 1 - Q5 No server log files in data/raw
Part 1 - Q6 No user log files in data/raw; No event log files in data/raw
Part 1 - Q7
Part 1 - Q8 data/inventory.txt does not exist
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1 data directory does not exist
Part 1 - Q2 rawdata not moved to data/raw
Part 1 - Q3 ls command not run
Part 1 - Q4 Missing directories: data/processed/server_logs, data/processed/user_logs, data/processed/event_logs
Part 1 - Q5 No server log files in data/raw
Part 1 - Q6 No user log files in data/raw; No event log files in data/raw
Part 1 - Q7
Part 1 - Q8 data/inventory.txt does not exist
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Copy link
Copy Markdown

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autograder results

question status comment
Part 1 - Q1 data directory does not exist
Part 1 - Q2 rawdata not moved to data/raw
Part 1 - Q3 ls command not run
Part 1 - Q4 Missing directories: data/processed/server_logs, data/processed/user_logs, data/processed/event_logs
Part 1 - Q5 No server log files in data/raw
Part 1 - Q6 No user log files in data/raw; No event log files in data/raw
Part 1 - Q7
Part 1 - Q8 data/inventory.txt does not exist
Part 2 coworker-changes branch not found in commit history

Please address the issues listed above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant