[wp-trac] [WordPress Trac] #49783: PHPCS config: Persistent caching on Travis
WordPress Trac
noreply at wordpress.org
Wed Jun 3 18:24:05 UTC 2020
#49783: PHPCS config: Persistent caching on Travis
------------------------------+-------------------------------
Reporter: johnbillion | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.5
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: coding-standards
------------------------------+-------------------------------
Comment (by jrf):
@desrosj Been working on some related things. I have a feeling that
@johnbillion used a directory for the cache file to allow Travis to cache
the file as it seems that there is no option to cache individual files,
just directories.
With that in mind, using a `/[.]cache/` directory off the project root may
not be a bad idea.
This directory would need a `.gitkeep` file to ensure it exists and can be
committed (as per John's earlier patch).
The cache files then need to be added to both `.gitignore` as well as
`.svnignore` to make sure that the cache files themselves do not get
committed.
Also: why is `/phpcompat.xml` added to `.gitignore` ? This is a user-
specific override file, not a default file name, so should probably be in
the user `.git/info/exclude/` rather than the project `.gitignore`.
Or is there documentation/a make manual page which refers to using this as
an overload file ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49783#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list