Skip to content

Commit

Permalink
chore: Clean up .gitignore and .gitattributes files (#2879)
Browse files Browse the repository at this point in the history
Clean up gitignore and gitattributes files
  • Loading branch information
nr-ahemsath authored Nov 8, 2024
1 parent 0278836 commit cfc6d6a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 583 deletions.
6 changes: 3 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ MSVBDPCADLL binary
*.chm binary
*.xpi binary

# For docker-for-Windows-based build/testing, force some files to be checkout out with Linux-style line endings
# For docker-for-Windows-based build/testing, force some files to be checked out with Linux-style line endings
*.sh text eol=lf
/Agent/packaging/test/applications/custom_xml/*.xml text eol=lf
/Agent/packaging/redhat/newrelic-dotnetagent.spec text eol=lf
/build/Linux/test/applications/custom_xml/*.xml text eol=lf
/build/Linux/build/rpm/newrelic-dotnetagent.spec text eol=lf

118 changes: 10 additions & 108 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,151 +17,53 @@

*.tlog

#NCrunch
_NCrunch_*/
*.ncrunchsolution
*.ncrunchsolution.user
*.ncrunchproject
*.ncrunchproject.user

# NuGet package files
Agent/NewRelic/Tray/packages/
Agent/packages/
PerformanceTests/packages/
PhantomJSTests/packages/

# Version Files
VersionAssemblyInfo.cs

# Misc build artifacts

# Build output
bin/
obj/
*.ipch
*.idl
*.tlb
*.mrg.h
UpgradeLog.htm

# Development stuff
*.swp
tags
FILES
junk
*.out
*.jmconfig
Agent/.vs/config/applicationhost.config

# Windows image thumbnail cache file
Thumbs.db

# NDepends utility
NDependOut/
*.ndproj

*.pidb

test-results

#ignore launchSettings
launchSettings.json

# Ignore FullAgent build output
src/_build/
Agent/_build/
Build/_staging
Build/BuildArtifacts

# Build tools should be saved in full, even if they match ignore patterns.
!Agent/BuildTools/*
!Agent/BuildTools/SignTool/*

# External libraries should be saved in full, even if they match ignore patterns.
!Agent/ExternalLibs/*
!/build/Tools/*

# Don't save any of the logs in NewRelicHome
Agent/NewRelicHome/Logs/*

# Ignore C++ generated source files.
Agent/NewRelic.Agent.IL/_NewRelic.Agent.IL.idl
Agent/NewRelic.Agent.IL/_NewRelic.Agent.IL.tlb

# Ignore build output files copied to New Relic Home x86/x64
# Ignore home dirs
newrelichome_*
src/Agent/New Relic Home*

# Ignore New Relic Home generated registry files
src/Agent/New Relic Home x86.reg
src/Agent/New Relic Home x64.reg

# Ignore generated version files
Agent/NewRelic.Agent.IL/NewRelicCoreVersion.h
Agent/Shared/SharedAssemblyInfoVersion.cs
Agent/NewRelic/Profiler/Profiler/VersionInfo.h

Agent/NewRelic/Profiler/Profiler/test-results

# Ignore source files generated during build
Agent/Installer/Core.wxs
Agent/NewRelic/Agent/Core/AgentInstallConfiguration_Generated.cs

# Ignore license reviewer output files
LicenseData/license_errors.txt

# Sample apps
App_Data

#Functional Tests
FunctionalTests/InstallUtil.InstallLog
*.coverage
TestResults/*
*.pubxml.user
# Integration Tests
tests/Agent/IntegrationTests/Applications/*/Deploy/
tests/Agent/IntegrationTests/SharedApplications/*/Deploy/
tests/Agent/IntegrationTests/UnboundedApplications/*/Deploy/
tests/Agent/IntegrationTests/.vs/config/applicationhost.config
.DS_Store
Agent/UpgradeLog*.htm

#PlatformTests
tests/Agent/PlatformTests/packages/
tests/Agent/PlatformTests/Applications/ServiceFabricApplication/packages/
tests/Agent/PlatformTests/Applications/ServiceFabricApplication/ServiceFabricApplication/pkg
tests/Agent/PlatformTests/Applications/WindowsContainerApplication/packages
tests/Agent/PlatformTests/Applications/NetFrameworkBasicApplication/packages

/Tests/Benchmarking/BenchmarkDotNet.Artifacts
*.dgml

#SmokeTest
tests/Agent/SmokeTest/logs/
tests/Agent/SmokeTest/agent/

# Include built binaries so that building the profiler is not necessary when only doing managed agent work
# The Home Builder picks up profiler binaries from this location
src/Agent/_profilerBuild/**/*.exp
src/Agent/_profilerBuild/**/*.iobj
src/Agent/_profilerBuild/**/*.ipdb
src/Agent/_profilerBuild/**/*.lib
src/Agent/_profilerBuild/**/*.pdb
src/Agent/NewRelic/Profiler/out/build/x64-Debug/VSInheritEnvironments.txt

# Ignore any locally built profiler Debug-mode binaries

# Local profiler build artificats
src/Agent/_profilerBuild/*Debug
src/Agent/NewRelic/Profiler/Profiler/VersionInfo.h

# Ignore any signing keys used in Linux packaging
build/Linux/keys

tests/TestResults/*

# ignore profiler binaries - they're now pulled from a NuGet package (see Home.csproj)
/src/Agent/_profilerBuild/linux-arm64-release/libNewRelicProfiler.so
/src/Agent/_profilerBuild/linux-x64-release/libNewRelicProfiler.so
/src/Agent/_profilerBuild/x64-Release/NewRelic.Profiler.dll
/src/Agent/_profilerBuild/x86-Release/NewRelic.Profiler.dll
/tests/Agent/IntegrationTests/ContainerApplications/.env

/tests/Agent/IntegrationTests/LocalStack/volume
# ignore Docker environment files
*.env

# Container Integration Tests
/tests/Agent/IntegrationTests/LocalStack/volume
/tests/Agent/IntegrationTests/ContainerApplications/volume/cache
208 changes: 0 additions & 208 deletions src/Agent/NewRelic/Profiler/.gitignore

This file was deleted.

Loading

0 comments on commit cfc6d6a

Please sign in to comment.