Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to
- Mention support of Debian 14 _« forky »_

### Changed
- Change license from GPLv3+ to MIT.
- pkgs: Bump minimal requirement on `RFL.log` >= 1.6.0.
- docs: Reword s/modelize/modeling/.

Expand Down
695 changes: 21 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,4 @@ $ pytest

## License

RacksDB is distributed under the terms of the GNU General Public License v3.0 or
later (GPLv3+).
RacksDB is distributed under the terms of the MIT license.
2 changes: 1 addition & 1 deletion frontend/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import HeaderPage from './components/HeaderPage.vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/BreadCrumbs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { ChevronRightIcon } from '@heroicons/vue/24/outline'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/ComboBox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { ref, computed, watchEffect, onMounted } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/DatacenterListInfrastructures.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
const props = defineProps({
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/EquipmentTypeModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import type { PropType } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/HeaderPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { useRoute } from 'vue-router'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/HomeViewCards.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { useHttp } from '@/plugins/http'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/InfrastructureFilters.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { ref, computed } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/InfrastructureTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { ref, onMounted, computed } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/composables/RacksDBAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later */
SPDX-License-Identifier: MIT */

import type { AxiosInstance } from 'axios'

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later */
SPDX-License-Identifier: MIT */

import './index.css'
import { createApp } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/plugins/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later */
SPDX-License-Identifier: MIT */

import type { App, Plugin } from 'vue'
import { inject } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/plugins/runtimeConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later */
SPDX-License-Identifier: MIT */

import type { App, InjectionKey, Plugin } from 'vue'
import { inject } from 'vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later */
SPDX-License-Identifier: MIT */

import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/DatacenterDetailsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { useHttp } from '@/plugins/http'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/DatacenterRoomView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { useHttp } from '@/plugins/http'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/DatacentersView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { useHttp } from '@/plugins/http'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import HomeViewCards from '@/components/HomeViewCards.vue'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/InfrastructureDetailsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { useHttp } from '@/plugins/http'
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/views/InfrastructuresView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later -->
SPDX-License-Identifier: MIT -->

<script setup lang="ts">
import { useHttp } from '@/plugins/http'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/components/BreadCrumbs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/components/ComboBox.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect, vi, beforeEach } from 'vitest'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/components/EquipmentTypeModal.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/components/FiltersBar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/components/HeaderPage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/components/HomeViewCards.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect, vi, beforeEach } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/components/InfrastructureFilters.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/components/InfrastructureTable.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect, vi, beforeEach } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { vi } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/views/DatacenterDetailsView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect, vi, beforeEach } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/views/DatacenterRoomView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect, vi, beforeEach } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/views/DatacentersView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect, vi, beforeEach } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/views/HomeView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/views/InfrastructureDetailsView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect, vi, beforeEach } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion frontend/tests/views/InfrastructuresView.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright (c) 2025 Rackslab

This file is part of RacksDB.

SPDX-License-Identifier: GPL-3.0-or-later
SPDX-License-Identifier: MIT
*/

import { describe, test, expect, vi, beforeEach } from 'vitest'
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
name = "RacksDB"
version = "0.6.0.dev1"
description = "Modelize your datacenters infrastructures in YAML database"
license = {text = "GPLv3+"}
license = {text = "MIT"}
requires-python = ">=3.6"
keywords = ["cmdb", "inventory", "yaml", "datacenters", "racks", "hpc", "cluster"]
authors = [
Expand Down
2 changes: 1 addition & 1 deletion racksdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RacksDB.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MIT

from pathlib import Path
import typing as t
Expand Down
2 changes: 1 addition & 1 deletion racksdb/bases.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RacksDB.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MIT

import math

Expand Down
2 changes: 1 addition & 1 deletion racksdb/drawers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RacksDB.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MIT

from .room import RoomDrawer
from .infrastructure import InfrastructureDrawer
Expand Down
2 changes: 1 addition & 1 deletion racksdb/drawers/axonometric_infrastructure.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RacksDB.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MIT

from typing import Union
import math
Expand Down
2 changes: 1 addition & 1 deletion racksdb/drawers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# This file is part of RacksDB.
#
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: MIT

from typing import Union
import logging
Expand Down
Loading