Skip to content

Commit

Permalink
chore: remove outdated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
olevski committed Nov 7, 2024
1 parent 395fa14 commit c1315f8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 38 deletions.
25 changes: 0 additions & 25 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,7 @@
0.61.0
------

User-Facing Changes
~~~~~~~~~~~~~~~~~~~

**✨ Improvements**

- **UI & Data services**: Improve UX for users connecting to GitHub (`#3332 <https://github.com/SwissDataScienceCenter/renku-ui/pull/3332>`__).
- **UI**: Update project and group membership settings (`#3374 <https://github.com/SwissDataScienceCenter/renku-ui/pull/3374>`__).
- **UI**: Improve UX for adding data connectors (`#3368 <https://github.com/SwissDataScienceCenter/renku-ui/pull/3368>`__).

**🐞 Bug Fixes**

- **UI**: Avoid unexpected redirects when clicking on the 2.0 dashboard session buttons (`#3378 <https://github.com/SwissDataScienceCenter/renku-ui/pull/3378>`__).

Internal Changes
~~~~~~~~~~~~~~~~

**Improvements**

- **UI**: Update the Admin page to set up Connected services (`#3332 <https://github.com/SwissDataScienceCenter/renku-ui/pull/3332>`__).

Individual Components
~~~~~~~~~~~~~~~~~~~~~

- `renku-data-services 0.25.0 <https://github.com/SwissDataScienceCenter/renku-data-services/releases/tag/v0.25.0>`__
- `renku-ui 3.41.0 <https://github.com/SwissDataScienceCenter/renku-ui/releases/tag/3.41.0>`_
- `amalthea 0.13.0 <https://github.com/SwissDataScienceCenter/amalthea/releases/tag/0.13.0>`_

0.60.0
------
Expand Down
2 changes: 1 addition & 1 deletion scripts/init-db/renku_db_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def main():
renku_conn.set_session(autocommit=True)
db_init.set_connection(renku_conn)
db_init.set_extensions_and_roles()
create_ulid_func(config.db_admin_username, config.db_admin_password, config.renku_db_name)
create_ulid_func(config.db_admin_username, config.db_admin_password, config.renku_db_name, config.db_host, config.db_port)


if __name__ == "__main__":
Expand Down
19 changes: 7 additions & 12 deletions scripts/init-db/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,10 @@ def gitlab_is_online(url: str) -> int:
return res.status_code


def create_ulid_func(username: str, password: str, db_name: str):
try:
output = check_output(
["psql", "-U", username, "-d", db_name, "-f", "generate_ulid_func.sql"],
stderr=STDOUT,
env={"PGPASSWORD": password},
).decode("utf-8")
except Exception:
logging.error(f"Failed to create the ulid generation function:\n{output}")
raise
else:
logging.info(f"Created the ulid generation function:\n{output}")
def create_ulid_func(username: str, password: str, db_name: str, host: str, port: int):
output = check_output(
["psql", "-U", username, "-d", db_name, "-h", host, "-p", str(port), "-f", "generate_ulid_func.sql"],
stderr=STDOUT,
env={"PGPASSWORD": password},
).decode("utf-8")
logging.info(f"Created the ulid generation function:\n{output}")

0 comments on commit c1315f8

Please sign in to comment.