Giter Club home page Giter Club logo

Comments (4)

WyvernZhao avatar WyvernZhao commented on June 24, 2024

Sorry for your inconvenience, but the packaged source code zip file in the release was managed and created by github. I don't know how to and I don't think we have the right to change how it was zipped and what files it includes. I see that your problem is the difficulty to find the corresponding submodule version for a certain version of MEC. My suggestion is to use the following git commands:

  1. git clone https://github.com/opencodewin/MediaEditor.git && cd MediaEditor
  2. rm -rf plugin (I find that the 'plugin' directory has conflict if we want to checkout the 'v0.9.9' tag)
  3. git checkout v0.9.9 (if you don't want to change any code, and don't care about the 'Detached HEAD' state. Or you can create a new branch with 'git checkout -b v0.9.9 v0.9.9')
  4. git submodule init && git submodule update (this command will update the code of each submodules to their corresponding version).

Then the code is all set for v0.9.9 version.

from mediaeditor.

MechDR avatar MechDR commented on June 24, 2024

See, the problem is, I'm trying to package this for Void Linux and xbps-src has this rule, you have to define the version of the software at the beginning of the template and all of the distfiles, which of course, also include the symlinks to the other repos. The script then takes the sources and downloads them, extracts the content in special build dir, and then tries to build the package. The problem with this scenario is, there is no actual way to obtain the full source at the beginning of the script, but it has to be done afterwards. Sure there are functions and hooks that can be used to do it afterwards, but it just complicates the build process, as you have to add additional dependencies to the template (git, tar, gzip, etc.).

If there is absolutely no other way? Sure, this method can be used, but how come the plugin dir gets packed with the source, but not the other symlinked repos 🤔? Maybe it's some sort of a setting somewhere?

from mediaeditor.

WyvernZhao avatar WyvernZhao commented on June 24, 2024

It's because we are using submodules to group our code into separated blocks. It's a good way to isolate the modules for the ease of developing by different programmers/teams, and it's also good for sharing some fundamental modules across projects since we don't need to maintain copies of the same code. And plugin directory was a local directory for 'Media Editor' at v0.9.9, but it's been excluded and become an individual repo now. I'm afraid it's inevitable that you need run some git script to collect all the code at the beginning of your building process 😐

from mediaeditor.

MechDR avatar MechDR commented on June 24, 2024

Oooh, that makes sense now, regarding the plugin dir.

OK, looks like there is no other way 🤷‍♀️. Thanks anyway! 😊

from mediaeditor.

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.