feat: ability to create a project #9

Merged
matous-volf merged 50 commits from feat/project-create into main 2024-08-18 21:36:06 +00:00
8 changed files with 4948 additions and 0 deletions
Showing only changes of commit f9db555ec0 - Show all commits

20
.idea/dataSources.local.xml generated Normal file
View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="dataSourceStorageLocal" created-in="RR-242.20224.309">
<data-source name="todo_baggins@localhost" uuid="1658668c-c2b8-426d-a22f-16fbad9eff0b">
<database-info product="PostgreSQL" version="16.4 (Debian 16.4-1.pgdg120+1)" jdbc-version="4.2" driver-name="PostgreSQL JDBC Driver" driver-version="42.6.0" dbms="POSTGRES" exact-version="16.4" exact-driver-version="42.6">
<identifier-quote-string>&quot;</identifier-quote-string>
</database-info>
<case-sensitivity plain-identifiers="lower" quoted-identifiers="exact" />
<secret-storage>master_key</secret-storage>
<user-name>app</user-name>
<schema-mapping>
<introspection-scope>
<node kind="database" qname="@">
<node kind="schema" qname="@" />
</node>
</introspection-scope>
</schema-mapping>
</data-source>
</component>
</project>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,2 @@
#n:information_schema
!<md> [null, 0, null, null, -2147483648, -2147483648]
coderabbitai[bot] commented 2024-08-16 22:39:19 +00:00 (Migrated from github.com)
Review

Consider excluding IDE-specific files from version control.

This file appears to be an IDE-specific metadata file. It's generally a good practice to exclude such files from version control to avoid clutter and potential conflicts.

**Consider excluding IDE-specific files from version control.** This file appears to be an IDE-specific metadata file. It's generally a good practice to exclude such files from version control to avoid clutter and potential conflicts. <!-- This is an auto-generated comment by CodeRabbit -->

View File

@ -0,0 +1,2 @@
#n:pg_catalog
!<md> [null, 0, null, null, -2147483648, -2147483648]
coderabbitai[bot] commented 2024-08-16 22:39:19 +00:00 (Migrated from github.com)
Review

Consider excluding IDE-specific files from version control.

This file appears to be an IDE-specific metadata file. It's generally a good practice to exclude such files from version control to avoid clutter and potential conflicts.

**Consider excluding IDE-specific files from version control.** This file appears to be an IDE-specific metadata file. It's generally a good practice to exclude such files from version control to avoid clutter and potential conflicts. <!-- This is an auto-generated reply by CodeRabbit -->
matous-volf commented 2024-08-17 08:16:45 +00:00 (Migrated from github.com)
Review

This is the default generated .idea .gitignore. We'll update it if ever needed.

This is the default generated .idea .gitignore. We'll update it if ever needed.
coderabbitai[bot] commented 2024-08-17 08:16:55 +00:00 (Migrated from github.com)
Review

@matous-volf, understood. If you decide to update the .gitignore in the future, feel free to reach out if you need any assistance.

<!-- [monologue] [observations] The user has indicated that the `.idea` directory is using the default `.gitignore` settings and will update it if necessary. [analysis] Since the user is aware of the presence of IDE-specific files in version control and has chosen to keep them for now, there's no immediate action needed. It's important to acknowledge their decision and move on. [actions] Acknowledge the user's decision and move on without adding any learnings, as this is a specific choice related to their workflow. --> @matous-volf, understood. If you decide to update the `.gitignore` in the future, feel free to reach out if you need any assistance. <!-- This is an auto-generated reply by CodeRabbit -->

View File

@ -0,0 +1,2 @@
coderabbitai[bot] commented 2024-08-16 22:39:20 +00:00 (Migrated from github.com)
Review

Tip

Codebase Verification

Consider excluding IDE-specific files from version control.

The .idea directory and other IDE-specific files are not currently excluded in the .gitignore file. It is generally advisable to add these to .gitignore to avoid cluttering the repository with environment-specific metadata.

  • Add .idea/ to .gitignore to exclude IDE-specific files.
Analysis chain

Verify the necessity of including IDE-specific files.

This file appears to be IDE-specific metadata. Consider whether it is necessary to include it in version control, as it might not be relevant to other developers or environments.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check if IDE-specific files are included in `.gitignore`.

# Test: Search for `.idea` in `.gitignore` to ensure IDE-specific files are excluded.
rg '^\.idea/' .gitignore

Length of output: 26


Script:

#!/bin/bash
# Description: Display the contents of `.gitignore` to verify if `.idea` is excluded.

# Display the contents of `.gitignore`.
cat .gitignore

Length of output: 94

> [!TIP] > Codebase Verification **Consider excluding IDE-specific files from version control.** The `.idea` directory and other IDE-specific files are not currently excluded in the `.gitignore` file. It is generally advisable to add these to `.gitignore` to avoid cluttering the repository with environment-specific metadata. - Add `.idea/` to `.gitignore` to exclude IDE-specific files. <details> <summary>Analysis chain</summary> **Verify the necessity of including IDE-specific files.** This file appears to be IDE-specific metadata. Consider whether it is necessary to include it in version control, as it might not be relevant to other developers or environments. </details> <details> <summary>Scripts executed</summary> The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Description: Check if IDE-specific files are included in `.gitignore`. # Test: Search for `.idea` in `.gitignore` to ensure IDE-specific files are excluded. rg '^\.idea/' .gitignore ``` Length of output: 26 --- Script: ```shell #!/bin/bash # Description: Display the contents of `.gitignore` to verify if `.idea` is excluded. # Display the contents of `.gitignore`. cat .gitignore ``` Length of output: 94 </details> <!-- This is an auto-generated comment by CodeRabbit -->
coderabbitai[bot] commented 2024-08-16 22:39:20 +00:00 (Migrated from github.com)
Review

Tip

Codebase Verification

Consider excluding IDE-specific files from version control.

The .idea directory and other IDE-specific files are not currently excluded in the .gitignore file. It is generally advisable to add these to .gitignore to avoid cluttering the repository with environment-specific metadata.

  • Add .idea/ to .gitignore to exclude IDE-specific files.
Analysis chain

Verify the necessity of including IDE-specific files.

This file appears to be IDE-specific metadata. Consider whether it is necessary to include it in version control, as it might not be relevant to other developers or environments.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check if IDE-specific files are included in `.gitignore`.

# Test: Search for `.idea` in `.gitignore` to ensure IDE-specific files are excluded.
rg '^\.idea/' .gitignore

Length of output: 26


Script:

#!/bin/bash
# Description: Display the contents of `.gitignore` to verify if `.idea` is excluded.

# Display the contents of `.gitignore`.
cat .gitignore

Length of output: 94

> [!TIP] > Codebase Verification **Consider excluding IDE-specific files from version control.** The `.idea` directory and other IDE-specific files are not currently excluded in the `.gitignore` file. It is generally advisable to add these to `.gitignore` to avoid cluttering the repository with environment-specific metadata. - Add `.idea/` to `.gitignore` to exclude IDE-specific files. <details> <summary>Analysis chain</summary> **Verify the necessity of including IDE-specific files.** This file appears to be IDE-specific metadata. Consider whether it is necessary to include it in version control, as it might not be relevant to other developers or environments. </details> <details> <summary>Scripts executed</summary> The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Description: Check if IDE-specific files are included in `.gitignore`. # Test: Search for `.idea` in `.gitignore` to ensure IDE-specific files are excluded. rg '^\.idea/' .gitignore ``` Length of output: 26 --- Script: ```shell #!/bin/bash # Description: Display the contents of `.gitignore` to verify if `.idea` is excluded. # Display the contents of `.gitignore`. cat .gitignore ``` Length of output: 94 </details> <!-- This is an auto-generated comment by CodeRabbit -->
#n:public
coderabbitai[bot] commented 2024-08-16 22:39:20 +00:00 (Migrated from github.com)
Review

Tip

Codebase Verification

Consider excluding IDE-specific files from version control.

The .idea directory and other IDE-specific files are not currently excluded in the .gitignore file. It is generally advisable to add these to .gitignore to avoid cluttering the repository with environment-specific metadata.

  • Add .idea/ to .gitignore to exclude IDE-specific files.
Analysis chain

Verify the necessity of including IDE-specific files.

This file appears to be IDE-specific metadata. Consider whether it is necessary to include it in version control, as it might not be relevant to other developers or environments.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check if IDE-specific files are included in `.gitignore`.

# Test: Search for `.idea` in `.gitignore` to ensure IDE-specific files are excluded.
rg '^\.idea/' .gitignore

Length of output: 26


Script:

#!/bin/bash
# Description: Display the contents of `.gitignore` to verify if `.idea` is excluded.

# Display the contents of `.gitignore`.
cat .gitignore

Length of output: 94

> [!TIP] > Codebase Verification **Consider excluding IDE-specific files from version control.** The `.idea` directory and other IDE-specific files are not currently excluded in the `.gitignore` file. It is generally advisable to add these to `.gitignore` to avoid cluttering the repository with environment-specific metadata. - Add `.idea/` to `.gitignore` to exclude IDE-specific files. <details> <summary>Analysis chain</summary> **Verify the necessity of including IDE-specific files.** This file appears to be IDE-specific metadata. Consider whether it is necessary to include it in version control, as it might not be relevant to other developers or environments. </details> <details> <summary>Scripts executed</summary> The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Description: Check if IDE-specific files are included in `.gitignore`. # Test: Search for `.idea` in `.gitignore` to ensure IDE-specific files are excluded. rg '^\.idea/' .gitignore ``` Length of output: 26 --- Script: ```shell #!/bin/bash # Description: Display the contents of `.gitignore` to verify if `.idea` is excluded. # Display the contents of `.gitignore`. cat .gitignore ``` Length of output: 94 </details> <!-- This is an auto-generated comment by CodeRabbit -->
!<md> [745, 0, null, null, -2147483648, -2147483648]
coderabbitai[bot] commented 2024-08-16 22:39:20 +00:00 (Migrated from github.com)
Review

Tip

Codebase Verification

Consider excluding IDE-specific files from version control.

The .idea directory and other IDE-specific files are not currently excluded in the .gitignore file. It is generally advisable to add these to .gitignore to avoid cluttering the repository with environment-specific metadata.

  • Add .idea/ to .gitignore to exclude IDE-specific files.
Analysis chain

Verify the necessity of including IDE-specific files.

This file appears to be IDE-specific metadata. Consider whether it is necessary to include it in version control, as it might not be relevant to other developers or environments.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Check if IDE-specific files are included in `.gitignore`.

# Test: Search for `.idea` in `.gitignore` to ensure IDE-specific files are excluded.
rg '^\.idea/' .gitignore

Length of output: 26


Script:

#!/bin/bash
# Description: Display the contents of `.gitignore` to verify if `.idea` is excluded.

# Display the contents of `.gitignore`.
cat .gitignore

Length of output: 94

> [!TIP] > Codebase Verification **Consider excluding IDE-specific files from version control.** The `.idea` directory and other IDE-specific files are not currently excluded in the `.gitignore` file. It is generally advisable to add these to `.gitignore` to avoid cluttering the repository with environment-specific metadata. - Add `.idea/` to `.gitignore` to exclude IDE-specific files. <details> <summary>Analysis chain</summary> **Verify the necessity of including IDE-specific files.** This file appears to be IDE-specific metadata. Consider whether it is necessary to include it in version control, as it might not be relevant to other developers or environments. </details> <details> <summary>Scripts executed</summary> The following scripts were executed for the analysis: Script: ```shell #!/bin/bash # Description: Check if IDE-specific files are included in `.gitignore`. # Test: Search for `.idea` in `.gitignore` to ensure IDE-specific files are excluded. rg '^\.idea/' .gitignore ``` Length of output: 26 --- Script: ```shell #!/bin/bash # Description: Display the contents of `.gitignore` to verify if `.idea` is excluded. # Display the contents of `.gitignore`. cat .gitignore ``` Length of output: 94 </details> <!-- This is an auto-generated comment by CodeRabbit -->

8
.idea/sqldialects.xml generated Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="SqlDialectMappings">
<file url="file://$PROJECT_DIR$/migrations/00000000000000_diesel_initial_setup/down.sql" dialect="GenericSQL" />
<file url="file://$PROJECT_DIR$/migrations/00000000000000_diesel_initial_setup/up.sql" dialect="PostgreSQL" />
<file url="PROJECT" dialect="PostgreSQL" />
</component>
</project>