diff --git a/bin/config/ansible.gitignore b/bin/config/ansible.gitignore new file mode 100644 index 0000000..d48d2d7 --- /dev/null +++ b/bin/config/ansible.gitignore @@ -0,0 +1,43 @@ +# Ansible gitignore + +# Ansible roles downloaded from Galaxy +roles/* +!roles/requirements.yml + +# Ansible vault password file +.vault_pass + +# Inventory files with sensitive data +inventory/group_vars/*/vault.yml +inventory/host_vars/*/vault.yml + +# Retry files +*.retry + +# Log files +*.log + +# Runtime files +*.pid + +# Python artifacts +__pycache__/ +*.py[cod] +*$py.class +*.so +.Python +env/ +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +*.egg-info/ +.installed.cfg +*.egg \ No newline at end of file diff --git a/bin/config/c.gitignore b/bin/config/c.gitignore new file mode 100644 index 0000000..47b68d2 --- /dev/null +++ b/bin/config/c.gitignore @@ -0,0 +1,76 @@ +# C gitignore + +# Prerequisites +*.d + +# Object files +*.o +*.ko +*.obj +*.elf + +# Linker output +*.ilk +*.map +*.exp + +# Precompiled Headers +*.gch +*.pch + +# Libraries +*.lib +*.a +*.la +*.lo + +# Shared objects (inc. Windows DLLs) +*.dll +*.so +*.so.* +*.dylib + +# Executables +*.exe +*.out +*.app +*.i*86 +*.x86_64 +*.hex + +# Debug files +*.dSYM/ +*.su +*.idb +*.pdb + +# Kernel Module Compile Results +*.mod* +*.cmd +.tmp_versions/ +modules.order +Module.symvers +Mkfile.old +dkms.conf + +# CMake build +build/ +CMakeFiles/ +CMakeCache.txt +cmake_install.cmake +Makefile +*.cmake + +# IDE specific files +.vscode/ +.idea/ +*.swp +*.swo +*~ + +# Logs +*.log + +# Test binary +test_* +!test_*.c \ No newline at end of file diff --git a/bin/config/cobol.gitignore b/bin/config/cobol.gitignore new file mode 100644 index 0000000..bdf9254 --- /dev/null +++ b/bin/config/cobol.gitignore @@ -0,0 +1,52 @@ +# COBOL gitignore + +# Objetos compilados +*.o +*.so +*.dll +*.exe +*.out +*.obj + +# Archivos intermedios +*.int +*.gnt +*.idy +*.lst +*.i +*.x +*.d +*.lis + +# Archivos de respaldo +*~ +*.bak +*.back +*.backup + +# Logs y archivos temporales +*.log +*.tmp +temp/ +tmp/ + +# Archivos específicos de IDE +.vscode/ +.idea/ +*.sublime-project +*.sublime-workspace + +# Directorios de compilación +build/ +bin/ +obj/ + +# Archivos de configuración local +*.env +.env +local_settings.txt + +# Archivos de datos de prueba +*.dat +*.idx +*.testdata \ No newline at end of file diff --git a/bin/config/cpp.gitignore b/bin/config/cpp.gitignore new file mode 100644 index 0000000..83f03b8 --- /dev/null +++ b/bin/config/cpp.gitignore @@ -0,0 +1,96 @@ +# C++ gitignore + +# Prerequisites +*.d + +# Compiled Object files +*.slo +*.lo +*.o +*.obj + +# Precompiled Headers +*.gch +*.pch + +# Compiled Dynamic libraries +*.so +*.dylib +*.dll + +# Fortran module files +*.mod +*.smod + +# Compiled Static libraries +*.lai +*.la +*.a +*.lib + +# Executables +*.exe +*.out +*.app + +# Build directories +build/ +debug/ +release/ +bin/ +obj/ + +# CMake artifacts +CMakeFiles/ +CMakeCache.txt +cmake_install.cmake +compile_commands.json +CTestTestfile.cmake +Makefile +*.cmake + +# IDE specific files +.vscode/ +.idea/ +*.sublime-workspace +*.sublime-project +*.swp +*.swo +*~ +.vs/ +*.ncb +*.suo +*.sdf +*.opensdf +*.user +*.filters +ipch/ + +# Editor specific +*.bak +*.tmp + +# Qt +moc_*.cpp +qrc_*.cpp +ui_*.h +object_script.* +*.pro.user +*.pro.user.* +*.qbs.user +*.qbs.user.* +*.moc + +# Doxygen +html/ +latex/ +docs/ + +# Logs +*.log + +# Dependencies +conan.lock +conanbuildinfo.* +conaninfo.* +graph_info.json \ No newline at end of file diff --git a/bin/config/csharp.gitignore b/bin/config/csharp.gitignore new file mode 100644 index 0000000..6c77cf5 --- /dev/null +++ b/bin/config/csharp.gitignore @@ -0,0 +1,114 @@ +# C# gitignore + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio files +.vs/ +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc +*.psess +*.vsp +*.vspx +*.sap + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ +**/Properties/launchSettings.json + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# ReSharper +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode +.JustCode + +# TeamCity +_TeamCity* + +# DotCover +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# Logs +*.log +*.logs + +# Rider +.idea/ +*.sln.iml + +# User-specific files +*.rsuser \ No newline at end of file diff --git a/bin/config/nodejs.gitignore b/bin/config/nodejs.gitignore new file mode 100644 index 0000000..a265926 --- /dev/null +++ b/bin/config/nodejs.gitignore @@ -0,0 +1,77 @@ +# Node.js gitignore + +# Dependencias +node_modules/ +jspm_packages/ + +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Archivos de diagnóstico +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Datos en tiempo de ejecución +pids +*.pid +*.seed +*.pid.lock + +# Directorio para bibliotecas instrumentadas generadas por jscoverage/JSCover +lib-cov + +# Directorio de cobertura utilizado por herramientas como istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Almacenamiento intermedio de TypeScript +*.tsbuildinfo + +# Directorios opcionales de npm +.npm +.node_repl_history + +# Salida de 'npm pack' +*.tgz + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# Cache y build +.cache/ +dist/ +build/ +.next/ +out/ +.nuxt/ +.output/ +.vuepress/dist + +# Directorios específicos del sistema +.DS_Store +Thumbs.db + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* + +# Archivos de bloqueo +package-lock.json +yarn.lock +# Mantener en el repositorio +!.yarn.lock \ No newline at end of file diff --git a/bin/config/odoo.gitignore b/bin/config/odoo.gitignore new file mode 100644 index 0000000..1473c73 --- /dev/null +++ b/bin/config/odoo.gitignore @@ -0,0 +1,63 @@ +# Odoo gitignore + +# Data directory - No hacer seguimiento de la carpeta data y su contenido +data/ +/data/ + +# Bytecode +*.py[cod] +__pycache__/ + +# Archivos generados por Odoo +*.pot +*.pyc +*.pyo +*.mo +*.egg-info +*.egg + +# Directorios generados por Odoo +.eggs/ +eggs/ +develop-eggs/ +node_modules/ +/venv/ +/.venv/ + +# Logs y bases de datos de prueba +filestore/ +logs/ +*.log +*.sql +*.sqlite +*.rdb + +# IDE y configuración de entorno +.idea/ +.vscode/ +.DS_Store +.env +.env* +!.env.example + +# Configuración local +odoo.conf +.odoorc +.odoorpc + +# Archivos temporales +*.swp +*.tmp +*~ +*.bak + +# Archivos de sesión +.directory +.Trash-* + +# Archivos de virtualenv +bin/ +include/ +lib/ +share/ +pip-selfcheck.json \ No newline at end of file diff --git a/bin/config/otros.gitignore b/bin/config/otros.gitignore new file mode 100644 index 0000000..c47cbe9 --- /dev/null +++ b/bin/config/otros.gitignore @@ -0,0 +1,94 @@ +# Archivo .gitignore genérico para diversos proyectos + +# Archivos temporales +*.tmp +*.temp +*.swp +*.swo +*~ +._* +*# + +# Archivos de log +*.log +log/ +logs/ + +# Archivos de entorno +.env +.env.* +!.env.example + +# Archivos de caché +.cache/ +cache/ +.cached/ +.sass-cache/ +.eslintcache +.npm +.yarn/cache + +# Dependencias +node_modules/ +vendor/ +bower_components/ +jspm_packages/ +.pnp/ +.pnp.js + +# Archivos de construcción +dist/ +build/ +out/ +output/ +target/ +bin/ +obj/ + +# Archivos de IDE +.idea/ +.vscode/ +*.sublime-project +*.sublime-workspace +.project +.settings/ +.classpath +.DS_Store +.directory +Thumbs.db +.vs/ + +# Archivos de cobertura y testing +coverage/ +.coverage +htmlcov/ +test-results/ +.pytest_cache/ +.nyc_output/ +.phpunit.result.cache +junit.xml +*.lcov + +# Documentación generada +docs/_build/ +docs/generated/ +api-docs/ +jsdoc/ +apidoc/ + +# Archivos de configuración local y datos +*.sqlite +*.sqlite3 +*.db +*.sql +*.dat +*.bak +config/local.json +config/local.yaml +config/local.yml +local.conf + +# Sistema específico +.DS_Store +Thumbs.db +desktop.ini \ No newline at end of file diff --git a/bin/config/php.gitignore b/bin/config/php.gitignore new file mode 100644 index 0000000..73c474b --- /dev/null +++ b/bin/config/php.gitignore @@ -0,0 +1,85 @@ +# PHP gitignore + +# Composer +/vendor/ +composer.phar +/composer.lock + +# Archivos de configuración sensibles +.env +.env.backup +.phpunit.result.cache +phpunit.xml + +# Archivos de caché +*.cache + +# Archivos de logs +*.log +logs/ +error_log +access_log + +# Archivos y directorios específicos de frameworks +/bootstrap/cache/ +/storage/ +/public/storage +/public/hot + +# Laravel Mix +/node_modules/ +/public/css/ +/public/js/ +/public/mix-manifest.json + +# Symfony +/bin/* +/var/ +/vendor/ +/.env.local +/.env.local.php +/.env.*.local +/config/secrets/prod/prod.decrypt.private.php +/public/bundles/ + +# PHPUnit +/.phpunit.cache +.phpunit.result.cache +/phpunit.xml + +# Directorios específicos del sistema +.DS_Store +Thumbs.db + +# IDE y editores +/.idea/ +/.vscode/ +/.vagrant/ +.project +.settings/ +*.swp +*.swo +*~ +.vs/ +*.sublime-project +*.sublime-workspace +*.code-workspace + +# Archivos específicos de WordPress +/wp-config.php +/wp-content/uploads/ +/wp-content/cache/ +/wp-content/backup-db/ +/wp-content/upgrade/ +/wp-content/updraft/ +/wp-content/advanced-cache.php +/wp-content/wp-cache-config.php +/wp-content/debug.log + +# Archivos de sistema +*.com +*.class +*.dll +*.exe +*.o +*.so \ No newline at end of file diff --git a/bin/config/python.gitignore b/bin/config/python.gitignore new file mode 100644 index 0000000..cb59567 --- /dev/null +++ b/bin/config/python.gitignore @@ -0,0 +1,83 @@ +# Python gitignore + +# Bytecode +__pycache__/ +*.py[cod] +*$py.class + +# Distribución y empaquetado +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +*.py,cover +.hypothesis/ +.pytest_cache/ +cover/ + +# Documentación +docs/_build/ +docs/api/ +docs/generated/ + +# Ambientes virtuales +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Archivos de configuración y datos locales +.spyderproject +.spyproject +.ropeproject +local_settings.py +db.sqlite3 +db.sqlite3-journal +instance/ +.webassets-cache +.ipynb_checkpoints +profile_default/ +ipython_config.py + +# Mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Entornos IDE +.idea/ +.vscode/ +*.swp +*.swo +*~ + +# Logs +*.log \ No newline at end of file diff --git a/bin/config/rust.gitignore b/bin/config/rust.gitignore new file mode 100644 index 0000000..864e5e2 --- /dev/null +++ b/bin/config/rust.gitignore @@ -0,0 +1,61 @@ +# Rust gitignore + +# Generated by Cargo +/target/ +Cargo.lock + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb + +# IDE specific files +.idea/ +.vscode/ +*.swp +*.swo + +# Generated documentation +/doc/ +/target/doc/ + +# Coverage reports +coverage/ +*.profraw + +# Logs +*.log + +# Environment variables +.env +.env.* +!.env.example + +# Compiled files +*.rlib +*.rmeta +*.a +*.so +*.dylib +*.dll + +# Debug symbols +*.dSYM/ + +# Test binaries +tests/test_*/ + +# Optional: remove all test binaries in debug folder +target/debug/deps/* +!target/debug/deps/*.d + +# Profiling data +*.prof + +# OS specific +.DS_Store +Thumbs.db \ No newline at end of file diff --git a/bin/config/sp32home.gitignore b/bin/config/sp32home.gitignore new file mode 100644 index 0000000..50e8d1e --- /dev/null +++ b/bin/config/sp32home.gitignore @@ -0,0 +1,56 @@ +# ESP32/Arduino gitignore + +# Platformio +.pio +.pioenvs +.piolibdeps +.clang_complete +.gcc-flags.json +.vscode/.browse.c_cpp.db* +.vscode/c_cpp_properties.json +.vscode/launch.json +.vscode/ipch + +# Archivos Arduino específicos +.build/ +/build/ +.arduino15/ +ArduinoOutput/ + +# IDE específicos +.vscode/ +.idea/ +*.iml +*.iws +*.ipr +.DS_Store +.directory + +# Archivos binarios y de compilación +*.bin +*.elf +*.hex +*.map +*.d +*.o +*.a +*.mk +*.gch + +# Archivos de configuración privados +**/wifi_credentials.h +**/credentials.h +secrets.h +wifi_config.h + +# Logs +*.log +debug.txt +serial.txt + +# Archivos temporales +*~ +~* +._* +*.bak +*.swp \ No newline at end of file diff --git a/bin/project_new.sh b/bin/project_new.sh index d186c04..1f599ad 100755 --- a/bin/project_new.sh +++ b/bin/project_new.sh @@ -335,6 +335,11 @@ function create_project_structure() { cd "$PROJECT_PATH" git init + # Copiar archivo .gitignore específico para el tipo de proyecto + if [ -f "$CONFIG_DIR/${PROJECT_TYPE}.gitignore" ]; then + cp "$CONFIG_DIR/${PROJECT_TYPE}.gitignore" "$PROJECT_PATH/.gitignore" + fi + # Crear archivo setup.md básico cat > "$PROJECT_PATH/docs/setup.md" << EOF # Configuración del Entorno de Desarrollo