Skip to content

python-plugins: improve statp handling in localfileset plugin#530

Merged
pstorz merged 5 commits intomasterfrom
dev/maik/master/local_fileset_weird_files
Jun 10, 2020
Merged

python-plugins: improve statp handling in localfileset plugin#530
pstorz merged 5 commits intomasterfrom
dev/maik/master/local_fileset_weird_files

Conversation

@aussendorf
Copy link
Contributor

Encodes filenames (string_escape) before sending to director, this way weird filenames will be restored correctly.

Also renamed exisiting systemtest python-fd-plugin-local-fileset-test to python-fd-plugin-local-fileset-rop-test and created a new test including weird-files.

Also added class variable and new method to LocalFilest to ease file-handling for derived classes, e.g. SplitJobs plugin, which is derived from this clas.

@franku
Copy link
Contributor

franku commented May 28, 2020

Would change the first commit message to a smaller headline:

python-plugins: improve statp handling in LocalFileset plugin

  • and make own test for localfilest with rop
  • ...

@aussendorf aussendorf force-pushed the dev/maik/master/local_fileset_weird_files branch from ebf30d3 to 3c6f954 Compare May 28, 2020 12:48
@pstorz pstorz changed the title Dev/maik/master/local fileset weird files improve statp handling in LocalFileset plugin Jun 10, 2020
@pstorz pstorz changed the title improve statp handling in LocalFileset plugin python-plugins: improve statp handling in LocalFileset plugin Jun 10, 2020
@pstorz pstorz changed the title python-plugins: improve statp handling in LocalFileset plugin python-plugins: improve statp handling in localfileset plugin Jun 10, 2020
aussendorf and others added 3 commits June 10, 2020 16:56
- make own test for localfilest with rop
- include weird files in test with disabled links
- format pep8 / black

- TODO: timestamp still not working for links (python 2 limitation in os.utime)
@pstorz pstorz force-pushed the dev/maik/master/local_fileset_weird_files branch from b915272 to 96fe6b5 Compare June 10, 2020 15:53
@pstorz pstorz force-pushed the dev/maik/master/local_fileset_weird_files branch from 96fe6b5 to 9433732 Compare June 10, 2020 16:02
@pstorz pstorz merged commit 4b8cd15 into master Jun 10, 2020
@pstorz pstorz deleted the dev/maik/master/local_fileset_weird_files branch June 10, 2020 16:06
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.

3 participants