Procházet zdrojové kódy

Add warning to docs about package repos, refs #2011 #563

Jordi Boggiano před 12 roky
rodič
revize
db22befc76
1 změnil soubory, kde provedl 8 přidání a 0 odebrání
  1. 8 0
      doc/05-repositories.md

+ 8 - 0
doc/05-repositories.md

@@ -442,6 +442,14 @@ Here is an example for the smarty template engine:
 
 
 Typically you would leave the source part off, as you don't really need it.
 Typically you would leave the source part off, as you don't really need it.
 
 
+> **Note**: This repository type has a few limitations and should be avoided
+> whenever possible:
+>
+> - Composer will not update the package unless you change the `version` field.
+> - Composer will not update the commit references, so if you use `master` as
+>   reference you will have to delete the package to force an update, and will
+>   have to deal with an unstable lock file.
+
 ## Hosting your own
 ## Hosting your own
 
 
 While you will probably want to put your packages on packagist most of the time,
 While you will probably want to put your packages on packagist most of the time,