Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automated workspace pruning/cleaning #35

Merged
merged 32 commits into from
Jul 15, 2024
Merged
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
642a77f
basic os.walk
wangpatrick57 Apr 3, 2024
6c93ae4
config group -> manage group
wangpatrick57 Apr 4, 2024
699d1f8
Merge branch 'main' into clean-workspace
wangpatrick57 Apr 4, 2024
ff122d0
renamed unit test folders
wangpatrick57 Apr 4, 2024
20aa6ed
create_structure function
wangpatrick57 Apr 4, 2024
7dbf90d
del scratchspace
wangpatrick57 Apr 4, 2024
5addc5f
wrote test_structure_helpers
wangpatrick57 Apr 5, 2024
8538f66
wrote basic clean_workspace
wangpatrick57 Apr 5, 2024
1a6b204
fixed create_structure to do symlinks from root_path
wangpatrick57 Apr 5, 2024
768cdb9
comments for more tests for clean
wangpatrick57 Apr 5, 2024
2e766f8
wrote empty tests
wangpatrick57 Apr 5, 2024
155def0
refactored parent_dir and dir_basename functions
wangpatrick57 Apr 5, 2024
366e288
merged with main
wangpatrick57 Apr 5, 2024
49d5e64
fixed linking to dirs
wangpatrick57 Apr 5, 2024
702afa1
fixed file in dir in runs
wangpatrick57 Apr 6, 2024
b42a095
link to link crashing now
wangpatrick57 Apr 6, 2024
e0b4743
added test for aggressive mode
wangpatrick57 Apr 6, 2024
35faba2
fixed verify structure to be fine with broken symlinks
wangpatrick57 Apr 6, 2024
059ffd2
tests for looping infinitely
wangpatrick57 Apr 10, 2024
8106f02
merge
wangpatrick57 Apr 25, 2024
64a555b
fixed infinite loop problem
wangpatrick57 Apr 25, 2024
2592db5
added some tests
wangpatrick57 Apr 26, 2024
2d41c9a
added more tests
wangpatrick57 Apr 26, 2024
bf8cd32
added all tests
wangpatrick57 Apr 26, 2024
a6805a8
wrote _count_files_in_workspace()
wangpatrick57 Apr 26, 2024
3dbeac0
comment
wangpatrick57 Apr 26, 2024
2a838cb
merged with main
wangpatrick57 Jul 8, 2024
3dd9923
small typo
wangpatrick57 Jul 8, 2024
5f112c6
Update test_clean.py
wangpatrick57 Jul 9, 2024
da3c0d2
Update test_clean.py
wangpatrick57 Jul 9, 2024
54d1e7e
removed duplicated test
wangpatrick57 Jul 9, 2024
92462e4
changed print to logger.info()
wangpatrick57 Jul 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update test_clean.py
  • Loading branch information
wangpatrick57 authored Jul 9, 2024
commit da3c0d286eb4fa45999dc9d3f4e78455f8b88555
6 changes: 2 additions & 4 deletions manage/tests/test_clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,8 @@ def setUp(self):
shutil.rmtree(self.scratchspace_path)

def tearDown(self):
# DEBUG(phw2)
# if self.scratchspace_path.exists():
# shutil.rmtree(self.scratchspace_path)
pass
if self.scratchspace_path.exists():
shutil.rmtree(self.scratchspace_path)

def test_structure_helpers(self):
structure = {
Expand Down
Loading