Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 20 16:46
    carlosperate commented #2238
  • May 20 16:45
    carlosperate edited #2238
  • May 20 16:44
    carlosperate commented #2238
  • May 20 16:21
    carlosperate commented #2091
  • May 20 16:04
    carlosperate milestoned #908
  • May 20 16:04
    carlosperate demilestoned #908
  • May 20 16:03
    carlosperate milestoned #1863
  • May 20 16:03
    carlosperate demilestoned #1863
  • May 20 16:03
    carlosperate milestoned #2237
  • May 20 16:03
    carlosperate milestoned #2218
  • May 20 16:03
    carlosperate milestoned #2141
  • May 20 16:02
    carlosperate milestoned #2168
  • May 20 16:01
    carlosperate opened #2238
  • May 20 16:00

    carlosperate on fix-super-mock

    Fix tests by reducing builtin m… (compare)

  • May 20 15:43
    carlosperate labeled #2091
  • May 20 15:43
    carlosperate labeled #2091
  • May 20 12:40
    carlosperate commented #1926
  • May 20 10:52
    carlosperate edited #2237
  • May 20 10:52
    carlosperate opened #2237
  • May 20 10:51

    carlosperate on isolate-jupyter-creation

    venv: Use -I flag to isolate Ju… (compare)

Nicholas Tollervey
@ntoll
Morning morning folks. Happy new year to you all. Just stepping back into a torrent of emails and catch ups after self-enforced stay-away-from-computers time over the holiday season.
@tjguk:matrix.org the most important thing is that you look after yourself and your health. We're all volunteers here and so please don't sweat anything about Mu.... but I really appreciate your update and look forward to catching up again soon.
So it looks like there were problems with the pre-Xmas release. I've meetings for "real work" today, all day, and a mountain of emails to climb too. I'll try to catch up later today or tomorrow.
Nicholas Tollervey
@ntoll
Hi folks, @/all I'm so sorry about the late nature of this, but I'm not going to be able to make this evening's scheduled Mu moot. My daughter just told me she needs taking back to university for various reasons (nothing bad, just really terrible timing and unforeseen). I'll email this as well, but not cancel the meeting just in case folks still want to meet. An alternative might be to bump the meeting by a week and convene next Monday..?
tjguk
@tjguk:matrix.org
[m]
Sorry; was at a hospital appt; happy to defer to next week. Hope P gets to Uni successfully 🙂
Vasco Mora
@xbecas
Next Monday will do fine! All the best!
zbrown:matrix.org @zbrown:matrix.org had an entirely unproductive trip in last week where they ended up acting as proxy for various people who simply couldn't travel back with less than 48 hours notice
Nicholas Tollervey
@ntoll
Good news... just got an email saying the certificate is ready. Why oh why did I use that other company. So much of a "run around", and these new folks were relatively easy to work with. When I have time I'll download it, check it all, and try a build. Hopefully it'll "just work" :tm: but if not, I'll have questions. ;-)
Tiago Montes
@tmontes
Great! Standing by on your progress having pup signing Mu’s distribution “properly”! :) (fingers crossed!)
Nicholas Tollervey
@ntoll
Just found this from years ago.... the very first Mu, made after an evening's hacking. https://www.youtube.com/watch?v=I17t-AapgQo
I'm out rehearsing this evening, but hope to get to the cert stuff tomorrow..! :-)
Terry King
@TerryKing
Hello Nicholas. Thanks for the invite; I think you know the few questions I have so I will not repeat here.
I enjoyed the FirstMu video! You had a box full of tools and knew how to use them. There's some Theme there for Makers.
Nicholas Tollervey
@ntoll
:wave: welcome @TerryKing - WRT PortaMu, it sounds like a relatively simple CI task we could add to GitHub actions via an adjustment to the Makefile (so we can all do it on our local machines should we need to). Perhaps this is even something that could just be built into pup since I imagine many packagers would appreciate the "static" just deploy it on a memory stick nature of PortaMu. @tmontes "PortaPup" :-)
@TerryKing as/when you find problems or puzzles (such as the "Run" button thing in ESP mode) please add a ticket via GitHub (see: https://codewith.mu/en/howto/1.1/bugs for beginner level instructions for this process).
All feedback is most welcome.
Carlos Pereira Atencio
@carlosperate
One thing to keep in mind that maybe we should document is that the user virtual environments will point to the Mu-packaged Python interpreter, so with PortaMu, if that moves then the venvs will fail. Hopefully that will be detected when Mu launches, but it'd be good to test it to confirm
Nicholas Tollervey
@ntoll
Unless we put the venvs on the USB stick..? Then the venv will always be in the same (relative) location to Mu.
Not sure how (yet), but that would solve the problem.
Carlos Pereira Atencio
@carlosperate
It's likely that a virtual environment on the USB stick wouldn't be different than one in the user's folder, as generally full paths are used.
But to be fair, that depends on what version of venv of virtualenv is used to create it. Older versions on linux/macos had full paths on the scripts shebangs, as relative paths don't work, but newer versions might be using some tricks where the shebang call a shell program that admits relative paths.
For windows it would depend on how the venv/virtualenv creates the python.exe and pip.exe, the last few times I've looked at the exe hex dumps full paths were used, so I think that might still be the case
Nicholas Tollervey
@ntoll
@carlosperate I see you are (as always) several steps ahead of me. ;-) I guess we could work around things if we read the venv configuration from the user's JSON configuration file?
@tmontes as always, pup appeared to JustWork :tm: (link to signed Windows installer coming in a moment)
OK..... so I have a meeting to prepare for, but here's a link to the signed Windows explorer. Please give it a go and let me know how you get on! https://www.dropbox.com/s/lmcm80rggtikacb/Signed-Mu-Editor-1.1.0b7.msi?dl=0
Assuming we can merge any outstanding translations and so on, I think we're on for 1.1 final.
Anyway -> meeting
Tiago Montes
@tmontes
@xbecas …can you take the signed windows installer for a spin? :)
(in a rush, but for future discussion: there’s a serious limitation WRT to portable Mu - not packaging related but VENV related - if Mu moves around, the venv will be deemed invalid, I suspect)
Vasco Mora
@xbecas
image.png
image.png
image.png
Vasco Mora
@xbecas

Hi all!
Publisher: Nicholas Tollervey! Yeah!!!!
After pressing "Run anyway" I got the "Welcome to the Mu Editor" windows and it took like 30 seconds to move on (automatically, without the need to press "Next").
Windows 10 Pro 21H2 (OS Build 19044.1415)

PS: it did a parallel installation, right next to the former 1.1.0b7 not-signed msi.

Nicholas Tollervey
@ntoll
Hurrah. :tada:
I did say that the "organisation" for the certificate was "The Mu Editor" but I guess that metadata isn't displayed.
Vasco Mora
@xbecas
🎉
image.png
Nicholas Tollervey
@ntoll
So cool.
Turtleroids / Asterutles
Vasco Mora
@xbecas
:) Will work on the collisions over the weekend eheheh!
Turtle-trek? ahahah
The ship is definitely the Turtleprise :D
Nicholas Tollervey
@ntoll
Hahahaha
Very good.
Carlos Pereira Atencio
@carlosperate
@ntoll is building signed executables via CI viable (i.e., are env variables with secrets all that's needed?) or does it need something like pen drives or similar?
Nicholas Tollervey
@ntoll
So, I was wondering that. To make it work I needed to use IE to import the certificate file into the keyring such that the CNAME referenced in the pup related envar was available. Not sure if pup could just reference the cert file itself..? I'm not sure. Or perhaps there's a way to automate the import of the cert (needs investigation), although I followed some sort of multi step wizard built into IE. Worth investigating, and I may take a look over the weekend. We can't be the first to think of this.
Carlos Pereira Atencio
@carlosperate
Cool, let us know how it goes! Hopefully it can all be done via GitHub actions (even if it's in the private fork)
Nicholas Tollervey
@ntoll
Yeah
Nicholas Tollervey
@ntoll
Hmmmm.... so the cert is also password protected too.
(I was feeling paranoid when requesting the certificate and followed their most-trusted certificate instructions walk through)
I guess we need to just work out what the IE based wizard actually does to import the certificate so the CNAME is referenceable in the envar for pup.
Nicholas Tollervey
@ntoll
Just taken a quick Google, and it looks like this might be the underlying command: https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/certutil#-installcert But I'm not sure how to get around the password challenge when installing the certificate.
Anyway.... something for the weekend.