Skip to content

FOREIGN profiles are not cleaned up #195

@gombasg

Description

@gombasg

The documentation of fetchProfile() says:

Only a single (most recent) copy of the foreign copy will be stored: previous versions will be removed.

However, that functionality was apparently broken by commit 7bc02dd by removing this fragment:

      if ($foreign_profile) {
          $latest = 0;
          system "rm -rf $cache_root/profile.$latest";
      }

... and I did not found any replacement of this code fragment. Since we've recently done an upgrade from an ancient version of CCM on our AII servers, we've just noticed the space not getting cleaned up.

Since the code was rewritten substantially, I don't immediately see where could this old logic be re-implemented.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions