Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add shellcheck to the build #3476

Merged
merged 1 commit into from
Apr 17, 2017
Merged

Add shellcheck to the build #3476

merged 1 commit into from
Apr 17, 2017

Conversation

zapashcanon
Copy link
Contributor

Hi,

Just add a build called 'style', which will be used for kwstyle and astyle too (I hope at least).

Currently it's checking for each .sh file in .travis/ and in .cmake/, others scripts are not ours so we won't check against them. If there are others scripts I forgot, just tell me.

I also moved some of the code in .travis.yml to separated .sh files as @jasp00 advised, so they can be checked (shellcheck found a few things in them btw) and also to ease the process of adding a "style build" which has nothing in common with other builds.

.travis.yml Outdated
@@ -49,4 +46,4 @@ notifications:
- https://webhooks.gitter.im/e/1ac7fc698195981a9227
Copy link
Member

@tresf tresf Apr 1, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this PR, but we don't use gitter anymore. We can probably shut this down.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the whole section as it looked like it was only for gitter.


export CMAKE_FLAGS="-DWANT_QT5=$QT5 -DUSE_WERROR=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo"

if [ -z "$TRAVIS_TAG" ]; then export CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_CCACHE=ON"; fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was likely kept a one-liner to keep the .yml clean reading. Please break this out now that it's in a shell script. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

#!/usr/bin/env bash

if [ "$TYPE" = 'style' ]; then
sudo apt install shellcheck
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be apt-get ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the debian admin. handbook:

APT is a vast project, whose original plans included a graphical interface. It is based on a library which contains the core application, and apt-get is the first front end — command-line based — which was developed within the project. apt is a second command-line based front end provided by APT which overcomes some design mistakes of apt-get.

IMHO using apt is better.

Copy link
Member

@tresf tresf Apr 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. We use apt-get everywhere else, let's use that for consistency. If there turns out to be advantages using apt over apt-get, we'll switch the whole project to use it in a separate task (wiki, travis, etc).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@tresf
Copy link
Member

tresf commented Apr 1, 2017

Would it make more sense to force this as a Linux-environment run? In the current state, it's assuming items like apt are available, which really shouldn't happen on anything except Linux environments.

@zapashcanon
Copy link
Contributor Author

to force this as a Linux-environment

It's taking the default from .travis.yml which is dist: trusty so I don't think it's necessary.

@tresf
Copy link
Member

tresf commented Apr 2, 2017

It's taking the default from .travis.yml which is dist: trusty so I don't think it's necessary.

Fair enough, but these should still only live in the linux scripts and you can just add another block to the apt-get logic rather than segmenting them which also addresses https://github.com/LMMS/lmms/pull/3476/files#r109296139.

@tresf
Copy link
Member

tresf commented Apr 2, 2017

live in the linux scripts

Moving them to the Linux scripts may also benefit us if some of these tools shift from Linux to homebrew, etc as history has proven sometimes Homebrew has newer versions of packages which would change apt-get to brew install directly in the respective install files.

@zapashcanon
Copy link
Contributor Author

these should still only live in the linux scripts and you can just add another block to the apt-get logic rather than segmenting them

So, you wan't me only to merge the apt-get part ? I'm not sure because, for others files, like .travis/script.sh they're not merged, would make it harder to understand. So I'd rather merge all of them, which will be more complicated in the case of .travis/script.sh, or even better, not merge them at all and stay like this which seems clearer to me.

which also addresses https://github.com/LMMS/lmms/pull/3476/files#r109296139.

When I click here, I only get a diff. Not sure what you're talking about here.

Adding them to Linus may also benefit us if some of these tools shift from Linux to homebrew, etc as history has proven sometimes non-Ubuntu packages sometimes run newer.

I don't understand sorry. Why adding them to linux would help if one day there's a more up to date homebrew version ?

@tresf
Copy link
Member

tresf commented Apr 2, 2017

would make it harder to understand

I thought of that too. I think it's fine. That way all CI platforms can have the formatting if needed. It's more granular.

for others files, like .travis/script.sh

The .yml really can go back. I don't see a reason they can't live directly in the platforms scripts that they run on.

I don't understand sorry.

I realized that and had edited my post. :) The point was if a utility that we're using for style or code quality is dated, often the Homebrew environment will get the bleeding edge first. This has happened time and time again (Qt5, GigPlayer, etc) so having apt-get calls in the root of install when they aren't platform independent seems like it could have scalability problem if we switch. Just a forethought.

When I click here, I only get a diff.

It got squashed out. Was the apt-get comment, which has since been fixed anyway. 👍

@zapashcanon
Copy link
Contributor Author

I thought of that too. I think it's fine. That way all CI platforms can have the formatting if needed. It's more granular.

Sorry, I don't understand what you mean. But, what would you all the CI platforms to have the formatting ? And I don't understand what you want me to do.

The .yml really can go back. I don't see a reason they can't live directly in the platforms scripts that they run on.

Because now, shellcheck is going to check those files. In .travis/before_script.sh as an example it spotted: mkdir build && cd build and told me to replace it by: mkdir build && cd build || exit (in case cd fails).

My point is really that we have build builds for many platform and a style build which should be separated. If someday we decide we don't want to run this style build on trusty, we will just have to do something like:

        - os: osx
          env: TYPE=style

And just edit the install.sh file. Seems more clear to me than mixing build builds and style build.

@tresf
Copy link
Member

tresf commented Apr 2, 2017

I think the || exit could be improved. We should return non-zero, probably set -e

The other points make sense and you're right they should stay for now. Thanks!

Copy link
Member

@jasp00 jasp00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some improvements.

.travis.yml Outdated
@@ -18,17 +19,13 @@ matrix:
- os: osx
env: QT5=True
before_install:
- . ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.before_install.sh
- . ${TRAVIS_BUILD_DIR}/.travis/before_install.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should try to remove all this sourcing and use single lines.

Copy link
Contributor Author

@zapashcanon zapashcanon Apr 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what you mean by use single lines.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

install: ${TRAVIS_BUILD_DIR}/.travis/install.sh

Copy link
Contributor Author

@zapashcanon zapashcanon Apr 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't work, have to do a chmod or call bash directly. So, here, I choosed to do: bash file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will work if you set execute permissions.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep', so if you want it to fit in a single line I'll have to do something like: chmod +x files && file, here, using bash file looked better to me.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know how to set permissions in the repository or not?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, just did it. I didn't know it was possible to do this with git.


if [ "$TYPE" != 'style' ]; then
# shellcheck disable=SC1090
. "$TRAVIS_BUILD_DIR/.travis/$TRAVIS_OS_NAME.$TARGET_OS.before_install.sh"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would you mind indenting with tabs, such as in .travis/linux..install.sh?
You should try to remove sourcing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done for the indenting part.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do you want me to remove sourcing ? I could do:

chmod +x file && ./file or bash file, no idea what's best.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should set permissions in the repository, like cmake/build_mingw32.sh.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what you meant, so I just did a chmod.

if [ -z "$TRAVIS_TAG" ]; then
export CMAKE_FLAGS="$CMAKE_FLAGS -DUSE_CCACHE=ON"
fi
fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should merge this script with .travis/script.sh.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

.travis.yml Outdated
- . ${TRAVIS_BUILD_DIR}/.travis/${TRAVIS_OS_NAME}.${TARGET_OS}.script.sh
- make -j4
- if [[ $TARGET_OS != win* ]]; then make tests && ./tests/tests; fi;
- . ${TRAVIS_BUILD_DIR}/.travis/script.sh
after_script:
- ccache -s
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should move this command to .travis/script.sh.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No you shouldn't. Moving it to script will cause it to affect the build result.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving it to script will cause it to affect the build result.

I am assuming @zapashcanon will drop sourcing and act accordingly. ccache -s prints a statistics summary, are you worried that ccache may fail?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see how sourcing relates to this.

are you worried that ccache may fail?

If it fails, I don't want our CI to fail because of that, obviously.

Regardless, it doesn't belong in script because it's not part of our tests.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zapashcanon, you should move this command to .travis/after_script.sh and execute ccache when appropriate.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By appropriate, you mean not when running the style build right ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess so. If ShellCheck does not compile, then ccache makes no sense.

Copy link
Contributor Author

@zapashcanon zapashcanon Apr 4, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems a little bit useless to me. ccache indeed makes no sense, but it'll just print: "nothing changed" and it's done. Is it worth to add a ~10 lines script when keeping it in one line is the same ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If ccache -s output is irrelevant, then you should not run ccache -s. By ~10 lines, do you mean 2? No matter how many lines, it is worth because ShellCheck will check the script.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

if [ "$TYPE" != 'style' ]; then
# shellcheck disable=SC1090
. "$TRAVIS_BUILD_DIR/.travis/$TRAVIS_OS_NAME.$TARGET_OS.before_install.sh"
fi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You may merge this script with .travis/install.sh.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

if [[ $TARGET_OS != win* ]]; then

make tests
./tests/tests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the dot?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No idea, that's how it was before in travis.yml.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Plain tests/tests should work.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@zapashcanon
Copy link
Contributor Author

@jasp00, some of your comments are now on outdated code but not fixed. Just to make sure you don't miss my comments.

@zapashcanon
Copy link
Contributor Author

@tresf @jasp00, I think I'm done with each review. Anything missing ?

@tresf
Copy link
Member

tresf commented Apr 8, 2017

@zapashcanon the chmod +x technique is fine. Have we also considered trying fixing this flag on the file itself?

@zapashcanon
Copy link
Contributor Author

@tresf setting this flag seems interesting. Do you want me to do it ? Otherwise, I'd like this to get merged so I can start adding things to the style job.

@jasp00
Copy link
Member

jasp00 commented Apr 9, 2017

@tresf setting this flag seems interesting. Do you want me to do it ?

Please, set the flag and drop chmod calls.

@tresf
Copy link
Member

tresf commented Apr 10, 2017

@zapashcanon thanks. I know some of these things seem mundane, but it makes the feature cleaner as a whole and sets a good example (such as the execute flag). Thanks for the patience with this.

sudo apt-get -yqq update
sudo apt-get install shellcheck
else

Copy link
Member

@tresf tresf Apr 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor, but there seem to be some additional newlines in this else block as well as the the if [ ] block in the after_script.sh file.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@zapashcanon
Copy link
Contributor Author

@tresf, it's ok, I understand. I'm even glad to know now that git is able to handle permissions.

Copy link
Member

@jasp00 jasp00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Further improvements.

@@ -0,0 +1,9 @@
#!/usr/bin/env bash

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add set -e to all scripts except after_script.sh.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Copy link
Contributor Author

@zapashcanon zapashcanon Apr 10, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure why I shouldn't add it into after_script.sh. If after_script.sh returns a non-0 exit code, Travis won't say the build failed. That's exactly the purpose of the after_script in the .yml file.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It won't hurt in after_script but to @jasp00's point, the ccache statistics aren't really critical for a pass/fail and it's a single-line, so set -e on the whole script hasn't yet been warranted over something like exit $?. But @zapashcanon you're right, it's best to add it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, done.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I see after_script, it is useful for statistics, non-critical tests, custom notifications (not webhooks), dumps, etc. You probably want to run all of them, so set -e is not convenient. Right now, it does not matter.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add set -e to linux..before_install.sh, linux.win32.before_install.sh, linux.win32.install.sh, etc.?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just did it.


else

mkdir build && cd build || exit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you use simple commands and drop exit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mkdir build && cd build was here before in the .yml. I added the exit but with set -e it's useless now.

@tresf
Copy link
Member

tresf commented Apr 11, 2017

@zapashcanon Homebrew seems to be picky about the install command. If a package is already installed, it returns a non-zero code and bombs out the script. This is now exposed by set -e.

I'd recommend we keep the package listing incase we need to invoke this from another build system and make it variable.

# skip preinstalled packages
if ! "${TRAVIS}"; then
   PACKAGES="$PACKAGES cmake pkgconfig node"
fi

Alternately, I believe brew reinstall will return warning instead of error, but it also adds unecessary time reinstalling packages that are already installed.

@zapashcanon
Copy link
Contributor Author

@tresf, I tried something else, which seems better to me. Currrently not working, but I'll fix it tomorrow. Do you agree with the idea ? I'm getting the list of already installed packages from $PACKAGES, then I remove them from $PACKAGES and finally install.

Moreover, there's this error too: Error: No such keg: /usr/local/Cellar/fftw. I've no idea what this is as I (almost) don't use MacOS or homebrew. Any clue ?

@tresf
Copy link
Member

tresf commented Apr 11, 2017

Do you agree with the idea

Absolutely. This is what I find recommended most places. It could even be extended to install them one-by-one and remove the bleeding $FOO, which would probably make @jasp00 happy.

No such keg: /usr/local/Cellar/fftw

It's simply the first already-installed package... Yet another side-effect of set -e I'm afraid. I think we need to do something like p in PACKAGES and catch errors from brew list (|| true or whatever). Probably don't even need to concatenate, just use the conditional to call brew install one by one. Man what a shitty side effect this !0 is causing. :)

@zapashcanon
Copy link
Contributor Author

to install them one-by-one

I thought about that, but I was afraid it would make the installation process longer.

@tresf
Copy link
Member

tresf commented Apr 11, 2017

I thought about that, but I was afraid it would make the installation process longer.

It shouldn't.

@tresf
Copy link
Member

tresf commented Apr 11, 2017

I was wrong @zapashcanon... it does make a difference.

Here's my benchmarking

foo bar foo && bar
9.357s 12.21s
7.596s 10.598s
8.261s 12.209

Probably best to build out the string in this case.

@zapashcanon
Copy link
Contributor Author

@tresf, I replaced for p in $(brew list $PACKAGES); do by for p in $(brew list); do. It worked. I also had to replace pkgconfig by pkg-config.

Now it fails on: branch=$(git symbolic-ref --short HEAD), I tried something but it didn't work. I'm not sure how to fix this. As you're the one who wrote this, have you any idea ?

@tresf
Copy link
Member

tresf commented Apr 14, 2017

@zapashcanon the git command should be valid, it just gets the current branch name. Custom homebrew formulas are hosted .rb files, so we have to point to the GitHub URL and that part makes sure it's the stable-1.2, master, etc.

I'm guessing the script just doesn't know where the git repository is. Can you try something like push ${TRAVIS_BUILD_DIR} (or cd, etc) and see if that resolves it?

@zapashcanon
Copy link
Contributor Author

I tried cd $TRAVIS_BUILD_DIR, didn't work.

I'm not sure the command is valid, see this. Looks like we're in a detached HEAD state, no ? I don't know how travis get the git repo. etc.

@zapashcanon
Copy link
Contributor Author

git-symbolic-ref:

git symbolic-ref will exit with status 0 if the contents of the symbolic ref were printed correctly, with status 1 if the requested name is not a symbolic ref, or 128 if another error occurs.

Travis build log:

fatal: ref HEAD is not a symbolic ref

The command "${TRAVIS_BUILD_DIR}/.travis/install.sh" failed and exited with 128 during .

@tresf
Copy link
Member

tresf commented Apr 14, 2017

@zapashcanon it appears weren't not the only ones wanting this.

Can we add a fallback to use ${TRAVIS_PULL_REQUEST_BRANCH}? I say fallback because --
despite the home -- this script may some day be run outside of a travis environment. e.g. Our Mac tutorial currently recommends it although I'll soon be removing this in favor of a more comprehensive quickstart.

Back on topic... here's the Travis-CI documentation around the branch name:
travis-ci/travis-ci#1633 (comment)

@zapashcanon
Copy link
Contributor Author

Ok, so, from the latest test:

pwd:

/Users/travis/build/LMMS/lmms

url=https://github.com/LMMS/lmms.git

git branch:

* (HEAD detached at FETCH_HEAD)

  master

git status:

HEAD detached at FETCH_HEAD

nothing to commit, working tree clean

fatal: ref HEAD is not a symbolic ref

So git symbolic-ref --short HEAD doesn't work because we're in detached head state, I've got no idea how to fix this properly.

I could do something like:

if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
    branch="master"
else
    branch=$(git symbolic-ref --short HEAD)
fi

But it won't work for PR to stable-1.2 or stuff like this.

@tresf
Copy link
Member

tresf commented Apr 14, 2017

I think we're on the same page. It is paramount we know the branch name. If it becomes too much of a struggle we can research how Homebrew does local .rb files or hardlink a gist.

@zapashcanon
Copy link
Contributor Author

@tresf, it works now, it's a bit hacky but it should do the trick.

@tresf
Copy link
Member

tresf commented Apr 14, 2017

That's perfect.

@zapashcanon
Copy link
Contributor Author

So, do you see anything left to do before merging ?

@tresf
Copy link
Member

tresf commented Apr 15, 2017

@zapashcanon I found a script that we missed... cmake/apple/install_apple.sh.in (due to the non-matching *.sh). We can append -or -name '*.sh.in' to the find command to add it. I just tried it there are going to be quite a few patches.

I'm not sure how well shellcheck does with unconfigured cmake files but at a glance, the cmake variables don't seem to be causing a problem.

@zapashcanon
Copy link
Contributor Author

@tresf, I fixed everything except one thing which seems strange to me.

We have:

STK_RAWWAVE=$HOME/stk-*/rawwaves

if [ ! -d "$STK_RAWWAVE" ]; then
   STK_RAWWAVE=$(brew --prefix stk)/share/stk/rawwaves
fi

Shellcheck doesn't like that. What's the * here for ? Is the folder name composed of some version number ? I did a quick fix with:

STK_RAWWAVE_LIST=( $HOME/stk-*/rawwaves )
STK_RAWWAVE=${STK_RAWWAVE_LIST[0]}

if [ ! -d "$STK_RAWWAVE" ]; then
   STK_RAWWAVE=$(brew --prefix stk)/share/stk/rawwaves
fi

But I don't know what's this code and I probably can't test it so...

@tresf
Copy link
Member

tresf commented Apr 15, 2017

@zapashcanon your assumptions are exactly correct. The purpose is a bit more vague... perhaps it could benefit from a comment but the raw waves must be copied at bundle time and at the time of writing that script, MacPorts didn't have libstk available.

Since then, we've moved to Homebrew (which does have libstk), so I kept the home-built rawwaves directory for backwards compatibility although I no longer use it for bundling and haven't tested against MacPorts in quite a while.

@zapashcanon
Copy link
Contributor Author

Ok, so what should I do ? Is the current script ok ?

@tresf
Copy link
Member

tresf commented Apr 17, 2017

@zapashcanon sorry I was giving a background story on it all. It looks good. Merging. Note, to other devs... we will not be back-porting this to stable-1.2.

@tresf tresf merged commit cea7d7d into LMMS:master Apr 17, 2017
@zapashcanon
Copy link
Contributor Author

Thanks for the review @tresf and @jasp00 ! :)

@zapashcanon zapashcanon deleted the shellcheck branch April 17, 2017 14:32
@PhysSong
Copy link
Member

@tresf @jasp00 shellcheck now fails because the trusty image used by Travis CI got updated.
See this.

@tresf
Copy link
Member

tresf commented Jun 24, 2017

@zapashcanon spearheaded this PR, I'll see if he's interested in fixing it. Seems like the documentation is straightforward.

@zapashcanon
Copy link
Contributor Author

zapashcanon commented Jun 25, 2017

I'll open a PR soon, should be easy.

Note: koalaman/shellcheck#942

@zapashcanon zapashcanon mentioned this pull request Jun 26, 2017
sdasda7777 pushed a commit to sdasda7777/lmms that referenced this pull request Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants