fleet/.gitignore
Lucas Manuel Rodriguez 505beae1a4
Add Fleet Desktop.app to .gitignore (#37711)
Resolves #35006.
See
https://github.com/fleetdm/fleet/issues/35006#issuecomment-3693239452.

Output when running the dirty check on `main`:
```
make desktop-app-tar-gz
go run ./tools/desktop macos
{"level":"info","command":"/Users/lucas/go/bin/go build -o Fleet Desktop.app/Contents/MacOS/fleet-desktop_amd64 -ldflags -X=main.version= ./orbit/cmd/desktop","time":"2025-12-30T08:38:20-03:00","message":"Build fleet-desktop executable amd64"}
{"level":"info","command":"/Users/lucas/go/bin/go build -o Fleet Desktop.app/Contents/MacOS/fleet-desktop_arm64 -ldflags -X=main.version= ./orbit/cmd/desktop","time":"2025-12-30T08:38:23-03:00","message":"Build fleet-desktop executable arm64"}
{"level":"info","output":"On branch test-branch-dirty\nUntracked files:\n  (use \"git add <file>...\" to include in what will be committed)\n\tFleet Desktop.app/\n\nnothing added to commit but untracked files present (use \"git add\" to track)\n","time":"2025-12-30T08:38:26-03:00","message":"git status"}
Error: detected dirty executable: {Path:github.com/fleetdm/fleet/v4 Version:v4.43.5-0.20251230113816-9bae7b475999+dirty Sum: Replace:<nil>}
exit status 1
make: *** [desktop-app-tar-gz] Error 1
```

Output on this branch:
```
make desktop-app-tar-gz
go run ./tools/desktop macos
{"level":"info","command":"/Users/lucas/go/bin/go build -o Fleet Desktop.app/Contents/MacOS/fleet-desktop_amd64 -ldflags -X=main.version= ./orbit/cmd/desktop","time":"2025-12-30T08:39:43-03:00","message":"Build fleet-desktop executable amd64"}
{"level":"info","command":"/Users/lucas/go/bin/go build -o Fleet Desktop.app/Contents/MacOS/fleet-desktop_arm64 -ldflags -X=main.version= ./orbit/cmd/desktop","time":"2025-12-30T08:39:47-03:00","message":"Build fleet-desktop executable arm64"}
Generated desktop.app.tar.gz successfully.
```

- [X] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files)
for more information.

## fleetd/orbit/Fleet Desktop

- [X] Verified that fleetd runs on macOS
- [X] Verified auto-update works from the released version of component
to the new version (see [tools/tuf/test](../tools/tuf/test/README.md))
2026-01-05 13:33:22 -03:00

122 lines
No EOL
2.2 KiB
Text

# binaries
*.exe
# output directories
/build
vendor
node_modules
dist
# generated artifacts
assets/bundle*.*
assets/*@*.svg
assets/*@*.png
assets/*@*.gif
assets/*@*.eot
assets/*@*.woff
assets/*@*.woff2
assets/*@*.ttf
assets/*@*.mp4
frontend/templates/react.tmpl
bindata.go
server/bindata/generated.go
*.cover
*.test
*.log
coverage.txt
storybook-static
frontend/coverage
# typescript generated test files
tmp/
# test debug files
debug.test*
# operating system artifacts
.DS_Store
# test mysql server data
mysqldata/
# test helm charts
helm-temp
charts/fleet/charts
#editors
.idea
.swp
# Fleet local development DB backups
backup.sql.gz
# Common mistake for new developers to run npm install and then end up
# committing a package-lock.json. Fleet app uses Yarn with yarn.lock.
package-lock.json
# infra
.terraform
.terraform.tfstate*
terraform.tfstate*
# generated orbit installers and artifacts
fleet-osquery*
desktop.app.tar.gz
osqueryd.app.tar.gz
desktop.tar.gz
nudge.app.tar.gz
swiftDialog.app.tar.gz
# residual files when running the cpe command
cmd/cpe/etagenv
cmd/cpe/cpe*.sqlite
cmd/cpe/cpe*.sqlite.gz
# Testing TUF server
test_tuf
# Residual files when running the msrc generate command
msrc_in/
msrc_out/
# Residual files when running cmd/macoffice/generate.go
macoffice_rel_notes/
# Keys and certificates that may be generated in the root of the repo
# (e.g. with ./build/fleetctl generate ...).
/*.key
/*.crt
# IDE
.vscode
.cursor
# residual files when running the build-windows tool
orbit/cmd/desktop/manifest.xml
orbit/cmd/desktop/resource_windows.syso
orbit/cmd/orbit/manifest.xml
orbit/cmd/orbit/resource_windows.syso
# Residual files from osqueryd loadtests.
osquery_worker_*.jpg
# Residual files when building fleetd_tables extension.
fleetd_tables_*
# Location of test extensions executables
tools/test_extensions/hello_world/macos
tools/test_extensions/hello_world/linux
tools/test_extensions/hello_world/linux-arm64
tools/test_extensions/hello_world/windows
tools/test_extensions/hello_world/windows-arm64
# Residual files when building fleet_tables extension.
fleet_tables_*.ext
# Local dev files
.env
.tool-versions
.zed/
# Required to not make `fleet-desktop` macOS executable built with a `dirty` flag (see #35006).
Fleet\ Desktop.app