Skip to content

Conversation

@aminya
Copy link
Member

@aminya aminya commented Aug 2, 2020

This requires building all the native modules for Electron 7.

  • fuzzy-native
  • nsfw

We should replace the old native modules like:

  • @atom/nsfw with nfsw 2
  • fuzzy-native with fuzzaldrin-plus-fast

@aminya aminya added enhancement New feature or request Modernization labels Aug 2, 2020
@aminya
Copy link
Member Author

aminya commented Aug 2, 2020

We should update Node: Axosoft/nsfw#82

@DeeDeeG Let me know if you can take a look into updating the Node versions. I think there are two parts to that. One is apm and the other one is the CI version.

@DeeDeeG
Copy link
Member

DeeDeeG commented Aug 10, 2020

I am seeing a build failure for @atom/fuzzy-native.

I think the updates needed for Electron 7/Node 12.4 were posted here: facebook-atom/nuclide-prebuilt-libs#41 (comment)

Apparently @atom/fuzzy-native is a fork of the facebook Atom IDE/nuclide repo's version of fuzzy-native.

@aminya
Copy link
Member Author

aminya commented Aug 10, 2020

Before rushing for another electron upgrade we should update Node everywhere to an identical version.

@DeeDeeG

This comment has been minimized.

@DeeDeeG
Copy link
Member

DeeDeeG commented Aug 10, 2020

Quick reminder: Electron 5 is loosely based on Node 12.0.0.

Electron 6 is based on Node 12.4.0. Electron 7 is based on Node 12.8.1.

https://www.electronjs.org/releases/stable?version=7&page=5#release-notes-for-v700

@aminya
Copy link
Member Author

aminya commented Aug 11, 2020

Even in cases that the same version is not necessary, it is much easier to organize this whole thing when we use a single identical Node version. I want to put this PR on hold until we do this.

@aminya aminya marked this pull request as draft August 11, 2020 01:35
@DeeDeeG

This comment has been minimized.

@DeeDeeG

This comment has been minimized.

@aminya aminya force-pushed the master branch 2 times, most recently from f3c93bd to e1645f5 Compare August 22, 2020 09:35
@aminya
Copy link
Member Author

aminya commented Aug 29, 2020

We have more important things to do before bumping Electron. I don't want to continue with this for now.

@DeeDeeG

This comment has been minimized.

@aminya

This comment has been minimized.

@DeeDeeG
Copy link
Member

DeeDeeG commented Aug 29, 2020

Thanks. I am a bit overwhelmed looking at all of the projects, though. Are there any of them in particular that are top priority, or ones where it would be helpful to have another set of eyes on the problem?

@aminya
Copy link
Member Author

aminya commented Aug 29, 2020

@DeeDeeG There are many atom packages outside this list that require updating. You can work on those.

@aminya aminya force-pushed the master branch 3 times, most recently from 87c664d to 67dcaef Compare September 18, 2020 12:24
@aminya aminya force-pushed the master branch 3 times, most recently from d5b2b31 to 1808785 Compare October 2, 2020 00:10
@mfonville
Copy link

Just leaving this is a note here to ourselves, when upgrading to Electron 7, we can drop the libgconf-2-4 dependency on Debian as we figured out at atom#21422 (comment)

@aminya
Copy link
Member Author

aminya commented Oct 3, 2020

@mfonville Thanks for the note. It may become useful someday.

However, we (community) have many more important things to fix/add before upgrading the electron. The core team might do it instead.

@aminya aminya added wontfix This will not be worked on and removed enhancement New feature or request labels Oct 4, 2020
@mfonville
Copy link

Just out of interest, wouldn't the build error probably be fixed by upgrading NSFW to v1.2.6 (or higher?) https://github.com/Axosoft/nsfw/releases/tag/v1.2.6
They describe it fixes building on Electron 7.1

But maybe v1.2.9 or even v2.0.0 might be a good idea to try? :-)

@aminya
Copy link
Member Author

aminya commented Oct 4, 2020

Yes. That's why we have a pending PR for it 🙂 #76.

If you try this offline, you will also get some errors from fuzzy-native. That one also needs updating.

@aminya
Copy link
Member Author

aminya commented Dec 2, 2020

@aminya aminya closed this Dec 2, 2020
@mfonville mfonville mentioned this pull request Dec 2, 2020
58 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants