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

[WIP] Major release 1.0 #147

Merged
merged 55 commits into from
Feb 1, 2023
Merged

[WIP] Major release 1.0 #147

merged 55 commits into from
Feb 1, 2023

Conversation

undera
Copy link
Collaborator

@undera undera commented Dec 22, 2022

There is some technical debt after initial phase of development, which we plan to address. It means massive changes to backend and frontend, thus it will require a major release. The changes will be accumulated in features-1.0 branch and this PR.

Big changes:

  • Self-sufficient binary, no Helm or kubectl is needed anymore
  • Migrate frontend to React

Smaller TODOs:

* Code cosmetics

* Experimenting with object model and direct HELM usage

* Experiment with object model

* replacing the kubectl

* Progressing

* Save the progress

* Able to start with migration in mind

* Migrated two pieces

* List releases via Helm

* Forgotten field

* Cristallized the problem of ctx switcher

* Reworked to multi-context

* Rollback is also new style

* More migration

* Refactoring

* Describe via code

* Bye-bye kubectl binary

* Eliminate more old code

* Refactor a bit

* Merges

* No binaries in dockerfile

* Commit

* Progress with getting the data

* Learned the thing about get

* One field less

* Sstart with repos

* Repo add

* repo remove

* Repos! Icons!

* Simplified access to data

* Ver listing works

* Ver check works

* Caching and values

* fixup

* Done with repos

* Working on install

* Install work-ish

* Fix UI failing on install

* Upgrade flow works

* Fix image building

* Remove outdated test file

* Move files around

* REfactorings
@undera undera changed the title Major release 1.0 [WIP] Major release 1.0 Dec 22, 2022
undera and others added 2 commits December 22, 2022 11:06
* Files import formatted

* Added go-test tools

* Added test for no-cache header

* added changes

* test for cache behaviour of app
@iamvikaskumar
Copy link
Contributor

Hi, I would like to contribute to the "Migrate frontend to React". Can you please help me get started, thanks.

@undera
Copy link
Collaborator Author

undera commented Dec 27, 2022

Hi, I would like to contribute to the "Migrate frontend to React". Can you please help me get started, thanks.

This task will be done by @ronahk , sorry

@iamvikaskumar
Copy link
Contributor

sure, if there is anything else where I can contribute please let me know. I can also help @ronahk if required.

OmAximani0 and others added 15 commits December 31, 2022 10:35
* Test for route configuration

* Test for context setter middleware

* implemented changes
- Created `repos_test.go`
- Test: `Load()` of Repositories
* Fixes failing test
- Fixes failing test of repo loading

* handles error for

* Did some changes
- and did some code formatting

Signed-off-by: OmAxiani0 <aximaniom@gmail.com>

Signed-off-by: OmAxiani0 <aximaniom@gmail.com>
- Modified the `repositories.yml` file

Signed-off-by: OmAxiani0 <aximaniom@gmail.com>

Signed-off-by: OmAxiani0 <aximaniom@gmail.com>
* Test for deleting the repository
- Also added cleanup function for `TestAdd`

* Fixes failing test
* Add auto labeler for PR's

* Add all file under .github/workflow to 'ci' label

Co-authored-by: Harshit Mehta <harshitm@nvidia.com>
Co-authored-by: Harshit Mehta <harshitm@nvidia.com>
@undera undera mentioned this pull request Jan 24, 2023
undera and others added 9 commits January 24, 2023 13:11
* Bootstrap OpenAPI doc

* Renaming some routes

* Listing namespaces

* k8s part of things

* Repositories section

* Document scanners API

* One more API call

* Progress

* Reworked install flow

* History endpoint

* Textual info section

* Resources endpoint

* Rollback endpoint

* Rollback endpoint

* Unit tests

* Cleanup

* Forgotten tags

* Fix tests
@undera undera marked this pull request as ready for review February 1, 2023 10:09
@undera
Copy link
Collaborator Author

undera commented Feb 1, 2023

I think this effort has already produced a massive change. React migrating will probably take a lot of time and we should deliver the accumulated changes earlier.
Thus, I'm deciding to proceed with releaseing 1.0.

@harshit-mehtaa
Copy link
Contributor

@undera
Is anything pending for Task 'Review caching and data reuse'?

@undera
Copy link
Collaborator Author

undera commented Feb 1, 2023

@undera Is anything pending for Task 'Review caching and data reuse'?

There's nothing that blocks the release. In fact, the old caching functionality is not used for now, but I think we should restore a bits of it in the future. Also, I've leveraged the browser-side caching in some places.

@undera
Copy link
Collaborator Author

undera commented Feb 1, 2023

To summarize:

  1. Self-sufficient binary, no helm/kubectl requirement
  2. REST API documented
  3. Ability to reconfigure chart with no access to its source
  4. Allow specifying multiple working namespaces
  5. Auto-update repositories when installed into cluster

@undera undera merged commit e13aa2f into main Feb 1, 2023
@undera undera deleted the features-1.0 branch February 1, 2023 13:24
@undera
Copy link
Collaborator Author

undera commented Feb 1, 2023

  • many smaller changes

@harshit-mehtaa
Copy link
Contributor

harshit-mehtaa commented Feb 1, 2023

When do you plan to create a new release with v1.0?

@undera
Copy link
Collaborator Author

undera commented Feb 1, 2023

I'm preparing to do it today. As soon as we hit the 3K stars mark ;)

@harshit-mehtaa
Copy link
Contributor

We already hit 3K 💯 🎉🚀

image

@undera
Copy link
Collaborator Author

undera commented Feb 1, 2023

Nope. Github makes rounding. If you hover the number on top right, you'll see we are still missing a star.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants