Topics for online voice chat meeting July 25th 2023

Topic threads for our monthly online voice chat meetings
Post Reply
Message
Author
User avatar
Vezzra
Release Manager, Design
Posts: 6134
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Topics for online voice chat meeting July 25th 2023

#1 Post by Vezzra »

This is the topics thread for our next online voice chat meeting on Tuesday, July 25th 2023.

Please post suggestions for topics and discuss them here.

User avatar
Cjkjvfnby
AI Contributor
Posts: 539
Joined: Tue Jun 24, 2014 9:55 pm

Re: Topics for online voice chat meeting July 25th 2023

#2 Post by Cjkjvfnby »

C++ logs and test output is hard to read for example Windows Cmake tests section. (Logs will eventually be deleted https://github.com/freeorion/freeorion/ ... 0158668864)

There is a solution that could be helpful to make logs smaller: https://docs.github.com/en/actions/usin ... -log-lines

The common use case is to add functions:

I don't know C++, so examples are in Python

Code: Select all

def start_group(title):
    # https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
    if os.environ.get("GITHUB_ACTIONS") == 'true':
        # put this exact line to output
        print("::group::" + title)

def endgroup():
    # https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
    if os.environ.get("GITHUB_ACTIONS") == 'true':
        print("::endgroup::")

We could start with one or two items, for example:

Code: Select all

[2023-07-15 08:48:26.972181] [0x00001310] [info]    Retrieve result of parsing "species".
  2: Dump SP_ABADDONI:
  +1700 lines
```

Some test frameworks already have support for this so maybe we could get some improvements almost for free.

PS. If you want to show errors near the code, you could use https://docs.github.com/en/actions/usin ... ng-message for that. We already use this for Python tests with this tool https://github.com/pytest-dev/pytest-gi ... e-failures
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Cjkjvfnby
AI Contributor
Posts: 539
Joined: Tue Jun 24, 2014 9:55 pm

Re: Topics for online voice chat meeting July 25th 2023

#3 Post by Cjkjvfnby »

I'll be on vacation (19-30) and don't know if I can connect to the next meeting.

We have some progress in species conversion. Rewriting the script itself is a bit boring, but a straightforward process. Skeletons really help to catch a lot of errors. So I think I can take that part for other sections as well.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13619
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Topics for online voice chat meeting July 25th 2023

#4 Post by Geoff the Medio »

Cjkjvfnby wrote: Mon Jul 17, 2023 9:20 pmI'll be on vacation (19-30) and don't know if I can connect to the next meeting.
You asked me to send you a message / tag you about the issue I brought up about one build failing causing another build to cancel on GitHub Actions.

It's unfortunate that there's no much audience for the MacOS weekly test builds, since Vezzra recently discovered that universe generation is broken, apparently only on MacOS. CJ might look into running test games on MacOS as well.

Post Reply