GithubHelp home page GithubHelp logo

Comments (20)

ehfd avatar ehfd commented on August 28, 2024

https://github.com/pacstall/pacstall
I also stumbled upon this; an AUR for Ubuntu?

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

@danisla
The following are outdated actions which require major updates to the pipeline:
tj-actions/[email protected] (newest version does not work just by changing the tag)
actions/create-release@v1 (archived and deprecated)
actions/upload-release-asset@v1 (archived and deprecated)

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

@danisla The Actions pipeline is buggy. The release for GStreamer is always botched for some reason when Build & publish all images is not run before Publish release, and the actions are outdated.

Ref: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

@danisla It seems that the release pipeline is broken. GStreamer is not delivered correctly especially in Ubuntu 20.04 and apparently breaks something with the caching mechanism.

For now, upload releases manually.

from selkies-gstreamer.

danisla avatar danisla commented on August 28, 2024

@danisla It seems that the release pipeline is broken. GStreamer is not delivered correctly especially in Ubuntu 20.04 and apparently breaks something with the caching mechanism.

For now, upload releases manually.

The pipeline fixes should be a separate bug, adding .deb packages is a new feature.

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

@danisla I won't open a new issue because I feel the CI is nearly fixed, but is it intended that gst-py-examples containers are not built in "Build & publish changed images"?

from selkies-gstreamer.

danisla avatar danisla commented on August 28, 2024

I was attempting to only build the gst-py-examples if any of the matrix tasks changed, but it's not obvious that this is possible ATM.
This commit should always build the example images: 587ec41

from selkies-gstreamer.

danisla avatar danisla commented on August 28, 2024

@ehfd for new releases, the process has changed slightly. The pipeline no longer creates the GH release.

  1. manually create the Github Release and Tag.
  2. Generate the release notes with the github button.
  3. The pipeline will trigger once the release is published and will upload the assets to the release.

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

Default branch was changed to main to comply with GitHub guidances. If you have a local clone, please use:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

@ehfd for new releases, the process has changed slightly. The pipeline no longer creates the GH release.

  1. manually create the Github Release and Tag.
  2. Generate the release notes with the github button.
  3. The pipeline will trigger once the release is published and will upload the assets to the release.

I have complied to this process. Best way is to set the new release as a pre-release until the assets are uploaded then change to latest.

from selkies-gstreamer.

danisla avatar danisla commented on August 28, 2024

Default branch was changed to main to comply with GitHub guidances. If you have a local clone, please use:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

Are you going to update all the things that depend on master?

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

Default branch was changed to main to comply with GitHub guidances. If you have a local clone, please use:

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

Are you going to update all the things that depend on master?

I am doing it.

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

I am doing it.

Done.

I am freezing both the desktop containers and Selkies-GStreamer after v1.4.3 and withdrawing for a few months, unless immediate issues arise.

Please ask me before a release, as it can affect the desktop containers.

from selkies-gstreamer.

danisla avatar danisla commented on August 28, 2024

Not sure if I’m ok freezing all Selkies gstreamer releases for a few months. Can you lock the desktop containers to Selkies-gstreamer v1.4.3? Having them roll with latest doesn’t seem like good CI practice anyway.

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

Not sure if I’m ok freezing all Selkies gstreamer releases for a few months. Can you lock the desktop containers to Selkies-gstreamer v1.4.3? Having them roll with latest doesn’t seem like good CI practice anyway.

If so, you can make a release, no problem.
But I still do want to roll with latest.
I'll manually trigger a rebuild when I can check things. That way the container images will be alive even after releases introduce incompatibilities.

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

Unless something is very out of the ordinary, the container desktops will be kept as-is for at least a few months (only Selkies-GStreamer dependencies will be updated as there are new releases).
I have exhausted and fixed every reason the container might break.

@danisla You are free to make releases, just contact and tell me when you have changed the GStreamer Dockerfile (or its runtime dependencies in Dockerfile.example). Anything otherwise will not interfere with the containers.

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

@danisla
It seems a good idea to:

  1. Create a merged .deb package which includes the Python, GStreamer, Web, and the Interposer.
  2. Ship a .tgz archive of the interposer .so file, because one of the advantages of using Selkies is not having to install as root.
  3. How would it be possible to create a completely portable version of all the components?

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

@danisla build_changed_images is broken, looks like it's incomplete.

# Note: When modifying this job, copy modifications to all other workflows' image jobs.
changed_example_images:
needs: changed_component_images
runs-on: ubuntu-latest
strategy:
matrix:
include:
- name: gst-py-example
version_suffix: -ubuntu20.04
push_image: "false"
build_args: PACKAGE_VERSION=0.0.0.dev0;UBUNTU_RELEASE=20.04;GSTREAMER_BASE_IMAGE_RELEASE=pr${{ matrix.version_suffix }};PY_BUILD_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/py-build:pr${{ matrix.version_suffix }};WEB_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/gst-web:pr${{ matrix.version_suffix }};JS_BASE_IMAGE_RELEASE=pr${{ matrix.version_suffix }};JS_BASE_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/js-interposer
dockerfile: Dockerfile.example
source_directory: .
source_files_for_diff: |
addons/**
src/**
Dockerfile
Dockerfile.example
pyproject.toml
setup.cfg
.github/workflows/build_and_publish_changed_images.yaml
- name: gst-py-example
version_suffix: -ubuntu22.04
push_image: "false"
build_args: PACKAGE_VERSION=0.0.0.dev0;UBUNTU_RELEASE=22.04;GSTREAMER_BASE_IMAGE_RELEASE=pr${{ matrix.version_suffix }};PY_BUILD_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/py-build:pr${{ matrix.version_suffix }};WEB_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/gst-web:pr${{ matrix.version_suffix }};JS_BASE_IMAGE_RELEASE=pr${{ matrix.version_suffix }};JS_BASE_IMAGE=ghcr.io/selkies-project/selkies-gstreamer/js-interposer
dockerfile: Dockerfile.example
source_directory: .
source_files_for_diff: |
addons/**
src/**
Dockerfile
Dockerfile.example
pyproject.toml
setup.cfg
.github/workflows/build_and_publish_changed_images.yaml

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

TODO: Change https://github.com/selkies-project/selkies-gstreamer/blob/main/.github/actions/build_and_publish_image/action.yaml with https://github.com/docker/build-push-action.

from selkies-gstreamer.

ehfd avatar ehfd commented on August 28, 2024

Remaining tasks:
Build and add .deb and .rpm packages (help for Arch or Alpine distros also welcome): This is still preferred despite considering Conda and AppImages.
Formatting, automatic code assessment tools, and a single syntax for code documentation: Consider SonarCube as a potential possibility.

from selkies-gstreamer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.