JHelper icon indicating copy to clipboard operation
JHelper copied to clipboard

Tasks archiving support in CHelper style

Open AntKirill opened this issue 2 years ago • 2 comments

An attempt to support the feature Archive any task #120 in a different way than in PR.

The idea is to avoid a mess in RCs when working on a large number of tasks. For example: JHelperArchiveDemo

Features:

  • Allows archiving either a single file with a task or a directory with possibly many nested directories which contain tasks
  • Archives only those files for which there exist JHelper run configurations. All the other files are silently ignored
  • Acts independently of the currently selected run configuration, it works with selected file or directory exclusively
  • Tasks with the same names are not mixed up in the archive as the date and time of archiving is appended to the name of the archived file and RC. When tasks are restored all their names are restored either
  • Removes run configurations for all archived tasks
  • Allows configuring archive directory
  • Restores all tasks to their former places independently of the archive's folder place
  • Restores all run configurations including default and custom tests for tasks
  • Restores only the tasks for which there exist archived run configurations. All the other files are silently ignored

AntKirill avatar Sep 07 '21 21:09 AntKirill

Hi, @AntKirill

Thanks for your interest and for the PR. It's pretty big, so I'll need to read it thoughtfully and I'm not really sure I'll have time for that soon. Sorry for that.

AlexeyDmitriev avatar Sep 07 '21 23:09 AlexeyDmitriev

Oh wow, This is actually better than my implementation. Also Clion 2021.2.3 is also released, can you test on that as well?

rishabhdeepsingh avatar Oct 15 '21 15:10 rishabhdeepsingh