Package Shortenit #17

Open
opened 2024-12-25 17:11:14 +00:00 by elia · 1 comment
Owner

The API server and the frontend are tightly coupled together as it stands. Packaging has not been looked at since the migration.

Outcome

The excepted outcome for this issue is to resolve the packaging problem. Installation of the package should do the following:

  • Build the frontend tsc code. Can be disabled through configuration and served somewhere else but it's always shipped with the package to keep everything simple for the time being.
  • Package the python code with the frontend built in the previous step

Definition of Done

Shortenit has a configuration which allows it to easily be packaged into a python package ready to be shipped and installed.

The API server and the frontend are tightly coupled together as it stands. Packaging has not been looked at since the migration. ## Outcome The excepted outcome for this issue is to resolve the packaging problem. Installation of the package should do the following: - Build the frontend tsc code. Can be disabled through configuration and served somewhere else but it's always shipped with the package to keep everything simple for the time being. - Package the python code with the frontend built in the previous step ## Definition of Done Shortenit has a configuration which allows it to easily be packaged into a python package ready to be shipped and installed.
elia added the
Kind/Enhancement
Status
Need More Info
Priority
Medium
labels 2024-12-25 17:11:14 +00:00
elia added a new dependency 2024-12-25 20:37:06 +00:00
Author
Owner

Poetry is still limited when it comes to include external dependencies. In this project, the UI and the configuration are being moved to the site-packages directory polluting it.

Unfortunately, there isn't much we can do at this stage to fix this, the packaging works though. We'll keep limping with this until a better solution is found, I'll keep the ticket open.

Poetry is still limited when it comes to `include` external dependencies. In this project, the UI and the configuration are being moved to the `site-packages` directory polluting it. Unfortunately, there isn't much we can do at this stage to fix this, the packaging works though. We'll keep limping with this until a better solution is found, I'll keep the ticket open.
elia added a new dependency 2024-12-27 09:00:27 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: elia/shortenit#17
No description provided.