satis icon indicating copy to clipboard operation
satis copied to clipboard

How Satis performs indexing

Open Icewild opened this issue 8 years ago • 6 comments

Hello there.

  1. Is there any possibility to configure Satis, so it will cache packages on demand, not all at once?
  2. How Satis do repeat scan? Download index and generating diff with local FS? Or Satis got any flags, so it won't need to do fullscan of working copy?
  3. If i have full mirror of packagist.org and i add new version of my private package directly to Satis, will i need to wait while Satis complete full rescan of my mirror to see a new version of my private package?

Icewild avatar Jul 21 '17 13:07 Icewild

  1. Is it normal that 8GB RAM is not enough to build index?

Icewild avatar Jul 24 '17 11:07 Icewild

Satis is not meant to be used as a mirroring tool for packagist.org, so we do not support this use-case.

alcohol avatar Jul 24 '17 12:07 alcohol

Ok, about third question i understand, but still, if it's not packagist.org? And could you please provide answers on other questions?

Icewild avatar Jul 24 '17 15:07 Icewild

  1. No.
  2. Satis always does a full scan. But it does use the composer cache for any source repositories that are of the vcs type. So it does not always have to do a full git clone. But it will still scan all branches and tags.

alcohol avatar Aug 11 '17 09:08 alcohol

Satis always does a full scan. But it does use the composer cache for any source repositories that are of the vcs type. So it does not always have to do a full git clone. But it will still scan all branches and tags.

Hmm we use repositories of type svn instead of vcs. Should we use vcs instead? Is there a difference whether we use vcs or one of the concrete versioning backends?

staabm avatar Feb 28 '18 19:02 staabm

VCS should be "smarter". Normally you only use the more specific type if you want to provide custom options for said specific type of repository.

alcohol avatar Mar 01 '18 07:03 alcohol