code: public static void setRepositoriesWritable(final boolean writable) {
          for (final Map.Entry<String, Repository> entry : REPOS_HOLDER.entrySet()) {
              final String repositoryName = entry.getKey();
              final Repository repository = entry.getValue();
  
              repository.setWritable(writable);
  
              LOGGER.log(Level.INFO, "Sets repository[name={0}] writable[{1}]", new Object[]{repositoryName, writable});
          }
  
          repositoryiesWritable = writable;
      }
docs: Sets all repositories whether is writable with the specified flag.
  
  @param writable the specified flat, {@code true} for writable, {@code false} otherwise