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

Major updates of libraries to go to a stable version of the software #36

Merged
merged 15 commits into from
Dec 23, 2023

Conversation

qlrd
Copy link
Collaborator

@qlrd qlrd commented Dec 21, 2023

Description

This PR was made to fix major updates of libraries to go to a stable version of the software.

It don't add any new functionality

0.0.1

  • Updated main dependencies:

    • electron: 28.0.0;
    • vite-plugin-electron: 0.15.5;
    • wdio-electron-service: 6.0.2.
  • Refactored test/e2e/specs:

    • to suit wdio-electron-service major updates that break E2E tests;
    • renamed extensions to mts to suit vite-plugin-electron;
    • updated krux firmware version checks to 23.09.1.
  • Updated openssl for windows to 3.2.0.

  • Removed MacOS release since the current approach did not worked well
    on MacOS;

WARNING:

We will replace the development to python/kivy due to
two different situations: (1) Windows: needs a custom compilation of openssl
and electron use boringssl; with a python release, it's possible to use
krux python modules inside the application, so the krux team envisioned
better compatibility between linux, windows and mac without inject an opeessl
binary in windows; (2) some extended permissions in MacOS and/or the lack
of an Apple ID linked to the software on darwin system do not allow the flash feature.

Artifacts to test

Generated artifacts can be found here

What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other: major updates on electron and wdio

@qlrd qlrd added the enhancement New feature or request label Dec 21, 2023
@qlrd qlrd requested review from odudex, tadeubas and jdlcdl December 21, 2023 22:04
@qlrd qlrd self-assigned this Dec 21, 2023
Copy link
Contributor

@tadeubas tadeubas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tadeubas, thanks

I've seen the code changes and appears ok to me, but I didn't test the installer

When possible, could you test it on your system (just to see if everything is in order)?


describe('Check created configuration', () => {

it('should \'appVersion\' property be equal to the defined in package.json', async () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming that these are human-readable error messages that a user might see, I've left some 'wording' suggestions below. If it is the case that these are only written to logs... I would NOT make these changes... because maybe there is an automated tool looking for "should " at the front of the log info.

'appVersion' property should be equal to the value define in package.json

Copy link
Collaborator Author

@qlrd qlrd Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jdlcdl, thanks for the review.

because maybe there is an automated tool looking for "should " at the front of the log info.

There isn't an automated tool. The string after it is an argument that prints a message. I only put should at the beginning of the sentence, a personal protocol based on BDD, completely forgetting about grammar 😞.

I will make these changes

expect(appVersion).to.equal(version)
})

it('should \'resources\' property be properly set for the platform', async () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'resources' property should be properly set for the platform

}
})

it('should \'os\' property be properly set for the platform', async () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'os' property should be properly set for the platform

expect(os).to.equal(process.platform)
})

it('should \'versions\' property to be an Array with 0 elements', async () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'versions' property should be an Array with 0 elements

expect(versions.length).to.equal(0)
})

it('should \'version\' property to be equal \'Select version\'', async () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'version' property should be equal to 'Select version'

expect(version).to.equal('Select version')
})

it('should \'device\' property to be equal \'Select device\'', async () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'device' property should be equal to 'Select device'

expect(device).to.equal('Select device')
})

it('should \'showFlash\' property to be equal \'false\'', async () => {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'showFlash' property should be equal to 'false'

qlrd added 2 commits December 23, 2023 12:06
Added minor updates to CHANGELOG;
Added WARNING.md;
Fixed some grammars on tests.
@qlrd
Copy link
Collaborator Author

qlrd commented Dec 23, 2023

@jdlcdl, added your requested changes.

I added a WARNING.md file. If you can, can you review the text too?

I added a deb package to and new builds here

@qlrd qlrd requested a review from jdlcdl December 23, 2023 15:11
@jdlcdl
Copy link

jdlcdl commented Dec 23, 2023

I note that all of my previous suggestions have been addressed.

I did read through WARNING.md and issued a pull request with small changes to the qlrd repo.

I did not succeed in building, because I have not taken the steps necessary to get my node.js environment in shape, but I see that you have pre-build AppImage and debian installer. They both worked well for me, nothing to report except 'well done!'

Thank you qlrd!

proof-reading suggestions
Copy link
Member

@odudex odudex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work @qlrd!
My review won't count much, Thanks @tadeubas and @jdlcdl for the reviews!

@qlrd qlrd merged commit ee96e0f into selfcustody:main Dec 23, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants