Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up the filesystem layout #2035

Open
chadwhitacre opened this issue Mar 17, 2023 · 2 comments
Open

Clean up the filesystem layout #2035

chadwhitacre opened this issue Mar 17, 2023 · 2 comments

Comments

@chadwhitacre
Copy link
Member

We've got a weed-patch:

/Users/chadwhitacre/workbench/getsentry/self-hosted
total 68
-rw-r--r--   1 chadwhitacre  staff  12852 Mar 17 14:07 CHANGELOG.md
-rw-r--r--   1 chadwhitacre  staff    111 May 25  2022 CONTRIBUTING.md
-rw-r--r--   1 chadwhitacre  staff   4733 Mar 17 14:07 LICENSE
-rw-r--r--   1 chadwhitacre  staff   4735 Nov 15 14:38 README.md
drwxr-xr-x   7 chadwhitacre  staff    224 Mar 17 14:28 _integration-test/
drwxr-xr-x   8 chadwhitacre  staff    256 Mar 17 14:28 _unit-test/
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:28 certificates/
drwxr-xr-x   4 chadwhitacre  staff    128 Mar 17 14:28 clickhouse/
drwxr-xr-x   4 chadwhitacre  staff    128 Mar 17 14:28 cron/
-rw-r--r--   1 chadwhitacre  staff  13754 Mar 10 10:21 docker-compose.yml
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:28 etc/
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:28 geoip/
drwxr-xr-x  23 chadwhitacre  staff    736 Mar 17 14:28 install/
-rwxr-xr-x   1 chadwhitacre  staff   1110 Feb 28 16:24 install.sh*
-rwxr-xr-x   1 chadwhitacre  staff    809 Mar 17 14:28 integration-test.sh*
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:28 jq/
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:14 lib/
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:28 nginx/
drwxr-xr-x   4 chadwhitacre  staff    128 Mar 17 14:28 postgres/
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:28 relay/
drwxr-xr-x   4 chadwhitacre  staff    128 Mar 17 14:28 scripts/
drwxr-xr-x   8 chadwhitacre  staff    256 Mar 17 14:28 sentry/
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:28 symbolicator/
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:28 test/
-rwxr-xr-x   1 chadwhitacre  staff    183 Mar 17 14:28 test.sh*
-rwxr-xr-x   1 chadwhitacre  staff    232 Mar 17 14:28 unit-test.sh*
drwxr-xr-x   5 chadwhitacre  staff    160 Mar 17 14:28 utilities/
$

Let's use a unix-y layout!

/Users/chadwhitacre/workbench/getsentry/self-hosted
total 56
-rw-r--r--   1 chadwhitacre  staff  12852 Mar 17 14:07 CHANGELOG.md
-rw-r--r--   1 chadwhitacre  staff    111 May 25  2022 CONTRIBUTING.md
-rw-r--r--   1 chadwhitacre  staff   4733 Mar 17 14:07 LICENSE
-rw-r--r--   1 chadwhitacre  staff   4735 Nov 15 14:38 README.md
drwxr-xr-x   8 chadwhitacre  staff    256 Mar 17 14:13 bin/
-rw-r--r--   1 chadwhitacre  staff  13754 Mar 10 10:21 docker-compose.yml
drwxr-xr-x  11 chadwhitacre  staff    352 Mar 17 14:11 etc/
-rwxr-xr-x   1 chadwhitacre  staff   1110 Feb 28 16:24 install.sh*
drwxr-xr-x   3 chadwhitacre  staff     96 Mar 17 14:14 lib/
drwxr-xr-x   7 chadwhitacre  staff    224 Mar 17 14:11 test/
$
@chadwhitacre
Copy link
Member Author

Daaaaang:

/Users/chadwhitacre/workbench/getsentry/self-hosted
total 36
-rw-r--r--   1 chadwhitacre  staff  12852 Mar 17 14:07 CHANGELOG.md
-rw-r--r--   1 chadwhitacre  staff    111 May 25  2022 CONTRIBUTING.md
-rw-r--r--   1 chadwhitacre  staff   4733 Mar 17 14:07 LICENSE
-rw-r--r--   1 chadwhitacre  staff   4735 Nov 15 14:38 README.md
drwxr-xr-x   6 chadwhitacre  staff    192 Mar 17 14:56 bin/
drwxr-xr-x  12 chadwhitacre  staff    384 Mar 17 14:53 etc/
drwxr-xr-x   4 chadwhitacre  staff    128 Mar 17 14:55 lib/
drwxr-xr-x   2 chadwhitacre  staff     64 Mar 17 14:57 usr/  # .gitignored, all installation stuff goes here
$

And then:

$ sentry-self-hosted install [nightly|latest|23.3.0]
$ sentry-self-hosted test
$ sentry-self-hosted backup
$ sentry-self-hosted restore

@github-actions
Copy link

github-actions bot commented Apr 8, 2023

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

2 participants