hyperair has quit [Read error: Connection reset by peer]
hyperair has joined #openscad
LordOfBikes has joined #openscad
mmu_man has quit [Ping timeout: 268 seconds]
snaked has joined #openscad
marlasinger has quit [Remote host closed the connection]
ashafq has quit [Ping timeout: 268 seconds]
Ckat has joined #openscad
extor has quit [Ping timeout: 246 seconds]
extor has joined #openscad
SamantazFox has joined #openscad
mohammad1722 has joined #openscad
mohammad1722 has quit [Quit: Client closed]
mohammad1722 has joined #openscad
mohammad1722 has quit [Ping timeout: 250 seconds]
mohammad1722 has joined #openscad
mmu_man has joined #openscad
<mohammad1722>
Hey Everyone! So, last week I added the submission parser script and a GitHub Action for the library-manager repo.
<mohammad1722>
Basically these are the automated handlers of people's pull requests that add/remove libraries from the list.
<mohammad1722>
The expected user behavior is:
<mohammad1722>
1. Fork the library-manager repo
<mohammad1722>
2. Update the list file (output_files/list_file.txt) by adding or removing library links (links to the library's repository).
<mohammad1722>
3. Commit the changes, push them to the fork, and open a pull request (PR).
<mohammad1722>
The PR triggers the GitHub Action, which parses the diff to identify changes. If the diff involves only the list file, the Action evaluates the changes (addition or deletion) and automatically accepts or rejects the PR.
<mohammad1722>
After a successful merge, the bot automatically updates the output_files/accepted_repositories.txt file to reflect the newly added libraries. This step is necessary to determine the library name per each library repo, as each library must be checked later that each release has the same name.
<mohammad1722>
Currently, I've tested adding libraries and the parsing seems working well. However, the automatic merge of the PR fails. Maybe this is a permission issue?
<mohammad1722>
Future improvement here could be:
<mohammad1722>
- When the PR is rejected, the bot should comment with the rejection reason and maybe instructions to fix the submission.
<mohammad1722>
- Don't allow anyone to remove any library and have a human review that first.
<mohammad1722>
My next steps:
<mohammad1722>
- Check why exactly the merge step fails
<mohammad1722>
- Develop the other automated part which is a periodic GitHub Action that check the accepted repositories file regularly to see if any of the repos has a new release and then produce an index_file which contains links to each version of each library available.
mohammad1722 has quit [Quit: Client closed]
Guest21 has joined #openscad
Guest21 has quit [Client Quit]
ashafq has joined #openscad
ashafq has quit [Changing host]
ashafq has joined #openscad
kintel has joined #openscad
<kintel>
mohammad1722: In terms of automatically merging PRs, are you using GitHub's auto merge feature?
<t4nk_fn>
*sigh* .. I thought "let's see if there's some bugs in openscad I could look into" .. so I saw some bug about not being able to return to preview mode with f9 or something,
<t4nk_fn>
then decided to rebuild my openscad
<t4nk_fn>
... now I'm facing error while loading shared libraries: libpolygon.so
<t4nk_fn>
does that have something to do with clipper2?
<teepee>
no, I think that's a recent change in manifold, compiling parts as separate library
<t4nk_fn>
he
<t4nk_fn>
heh, I was just compiling manifold.
<teepee>
it may depend itself on clipper2 though
<teepee>
not sure about that
<t4nk_fn>
this was exactly one of the dangers of me installing them as separate packages... you need to take care of updating them yourself :|
<kintel>
t4nk_fn Lots of things that can be picked up. Are you mostly interested in Qt-related topics or are you open to everything?
<kintel>
Qt/Gui stuff is "harder" in that there are no automated tests, so manual testing effort across platforms is more work
<kintel>
..but otoh, non-gui stuff means establishing automated tests ;)
<t4nk_fn>
I'm not much at anything, really, though I'd say I'm most familiar with Qt stuff, like that's why I picked up on the signal thing last time
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest39 has quit [Quit: Client closed]
<teepee>
there is certainly lots of issues and feature requests for the GUI, both big and small
kintel has joined #openscad
J24k1 has joined #openscad
J24k79 has quit [Ping timeout: 250 seconds]
pca006133 has joined #openscad
pca006132 has quit [Ping timeout: 268 seconds]
pca006133 is now known as pca006132
J24k1 has quit [Quit: Client closed]
J24k1 has joined #openscad
pca006132 has quit [Quit: pca006132]
pca006132 has joined #openscad
marlasinger has joined #openscad
pca006132 has quit [Ping timeout: 260 seconds]
kintel has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marlasinger has quit [Remote host closed the connection]
<t4nk_fn>
heh
<t4nk_fn>
yeah, MainWindow.cc calls qglview->hasOpenCSGSupport() before it had a chance to determine that, since it is done in GLView::enable_opencsg_shaders
<t4nk_fn>
and later on in MainWindow::viewModePreview() => viewActionPreview->setChecked(true); ... but it was not enabled in the first place
pca006132 has joined #openscad
<t4nk_fn>
seems pretty messy all in all ;)
<t4nk_fn>
I'm no programmer, but I'd say it oughtta be pulled out of enable_opencsg_shaders perhaps, to solve it in a more decent way
<t4nk_fn>
another way would be to just enable it before you setChecked(true)
<t4nk_fn>
I never used theres F9-F12 keys before, but I think there are some other issues there aswell
<t4nk_fn>
did I just write 'theres'? ;)
<t4nk_fn>
them there!
<teepee>
I was never clear how the combination of those view options work anyway, so maybe it's worth stepping back a bit more and see what makes sense :)
<t4nk_fn>
wireframe mode would seem nice, albeit as a rather useless plaything
plasma41 has left #openscad [#openscad]
teepee_ has joined #openscad
teepee has quit [Ping timeout: 260 seconds]
teepee_ is now known as teepee
kintel has joined #openscad
<kintel>
t4nk_fn Once you move from GUI into visualization, things also gets trickier as there is a lot of legacy code there, which should be cleaned up first. ..so wireframe mode done right is likely a good chunk of work, and wireframe mode as a hack might do more damage than good as the next cleanup just becomes harder.
<kintel>
Also, in terms of OpenCSG, we require OpenGL >=2 now, so OpenCSG should always be available