How do I contribute fixes or enhancements?

Forum Forums antiX-development Development How do I contribute fixes or enhancements?

  • This topic has 3 replies, 3 voices, and was last updated Dec 5-6:11 pm by Kempelen.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #94758
    Member
    techore

      How do I contribute fixes or enhancements?

      Typically, I would do this with a pull request through a git repo which engages the author and facilitates discussion.

      For an example, I found scripts that directly call roxterm and links2 instead of using $TERMINAL or xdg-open. I am not criticizing and my thoughts on changes may be dead wrong for I am learning. Programming is not my subject matter. My expertise lie in other domains.

      #94765
      Member
      Robin
        Helpful
        Up
        0
        ::

        There are a couple of methods to find out the place where to contribute. One of them, which I had learned myself from skidoo is:

        1.) look up the executable for the program, script or command you want to contribute to, e.g.:

        $ which zzzfm
        /usr/bin/zzzfm

        2.) look up which package this executable file belongs to:

        $ dpkg-query -S /usr/bin/zzzfm
        zzzfm: /usr/bin/zzzfm

        OK, here the package name (before the colon) is identically to the executable name, but this is arbitrarily.

        3.) look up source location in package description:

        $ apt-cache show zzzfm
        Package: zzzfm
        […]
        Homepage: https://gitlab.com/skidoo/zzzfm
        […]

        4.) Create an account on the very site and fork the project to your own space.

        5.) Apply your proposed changes to your fork and in case the original project is still active, file a merge request (sometimes called pull request).

        Another way could be to post and discuss your proposals here in the forums simply. You can attach your modified versions as compressed archive file to your posting or put it as plain text into code tags.

        Windows is like a submarine. Open a window and serious problems will start.

        #94792
        Member
        techore
          Helpful
          Up
          0
          ::

          @Robin, thank you. I will give steps 4 and 5 a try and failing that fallback on using the forum.

          The scripts I identified appear to be antiX specific and I was assuming (hoping) that there was a central antiX git repo to engage the author or do PRs. I was oversimplifying. My mistake.

          Funny you used skidoo as an example. The set date and time script I was reviewing had him and PPC cited.

          Very helpful information. Have a good day.

          #94950
          Member
          Kempelen
            Helpful
            Up
            0
            ::

            I would also like to know if the antiX programs are in a public repo. There is this repo, but there are no active commits: https://github.com/antiX-Linux

            I work on translation to Hungarian, and often it would be cool to have a good way to search the source code for specific messages to identify their context. (I read the script’s code on my PC for this. That solves this to some degree, but searching the complete source code often reveals more things.)

            For small errors that I identified (while the translation work), I used Bugzilla https://bugs.mxlinux.org/ and anticapitalista accepted most of those to IN_PROGRESS or quickly FIXED it. Thumbs up for that and thank you! Wherever possible, I provided code context and whatever. So it’s similar to a pull request, but this is easier for me!

            As for specific mentioned errors:

            $TERMINAL is null!, $TERM for me is “xterm” but I’m very happy that ROXTERM opens when a terminal is needed instead of a dumb xterm! So “fixing this” would be a drawback for me. 😉 As for HTML files or URLs: many help pages open “dillo” – which cannot correctly display the current antiX website. So that would be better to open in “preferred application” – I agree. (I saw links2 too.)

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.