# Recommended ignore list for GIT/SVN?

- Thread: https://externals.io/message/64802
- Original archive: https://news-web.php.net/php.internals/64802
- Started by J. Adams on 2013-01-10T07:29:54+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #64802 — J. Adams — 2013-01-10T07:29:54+00:00

URL: https://externals.io/message/64802#64802

Is there any official/doctrinal list of file types for a GIT/SVN ignore 
list when working on a PECL extension?  I've been snooping around and 
found the following (from 
http://stackoverflow.com/questions/85353/best-general-svn-ignore-pattern) but 
was wondering if there was any ignore list that is gospel for the PHP 
dev community.


*.o *.lo *.la #*# .*.rej *.rej
.*~ *~ .#* .DS_Store thumbs.db
Thumbs.db *.bak *.class *.exe *.dll
*.mine *.obj *.ncb *.lib *.log
*.idb *.pdb *.ilk *.msi* .res *.pch *.suo
*.exp *.*~ *.~* ~*.* cvs  CVS .CVS .cvs
release Release debug Debug
ignore Ignore bin Bin obj  Obj
*.csproj.user *.user
*.generated.cs

---

## #64813 — Ferenc Kovacs — 2013-01-10T11:10:08+00:00

URL: https://externals.io/message/64802#64813 · In reply to: #64802

> Is there any official/doctrinal list of file types for a GIT/SVN ignore
> list when working on a PECL extension?  I've been snooping around and found
> the following (from http://stackoverflow.com/**
> questions/85353/best-general-**svn-ignore-pattern<http://stackoverflow.com/questions/85353/best-general-svn-ignore-pattern>)
> but was wondering if there was any ignore list that is gospel for the PHP
> dev community.
>
>
> *.o *.lo *.la #*# .*.rej *.rej
> .*~ *~ .#* .DS_Store thumbs.db
> Thumbs.db *.bak *.class *.exe *.dll
> *.mine *.obj *.ncb *.lib *.log
> *.idb *.pdb *.ilk *.msi* .res *.pch *.suo
> *.exp *.*~ *.~* ~*.* cvs  CVS .CVS .cvs
> release Release debug Debug
> ignore Ignore bin Bin obj  Obj
> *.csproj.user *.user
> *.generated.cs
>
> --
> 
> 
>
>
you can check some examples from existing packages (see the svn:ignore from
http://svn.php.net/viewvc/pecl/apc/trunk/ for example) and we also have a
pear package called PECL_Gen for generating skeletons for pecl extensions
(it was intended to replace the ext_skel.utility (
http://php.net/manual/en/internals2.buildsys.skeleton.php) which contains a
moderate ignore list:
http://svn.php.net/viewvc/pecl/PECL_Gen/trunk/Extension.php?view=markup#l2098

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu
