Giter VIP home page Giter VIP logo

Comments (4)

tomxor avatar tomxor commented on June 16, 2024

What kind of benefits do you think of when you suggest plugging this into the build process? I mean, I understand the need to pull the db file easily, but I'm wondering how this relates to the build process itself.

from vault.

barteo avatar barteo commented on June 16, 2024

Currently, I have to put initial db into asset folder manually every time I create build to distribute (test builds, beta, release). Having pre-seeding database created in build script I can make build process fully migrated to the build server. Db content changes in my case quite often and I need usually the latest version pre-seeded while making the builds.

from vault.

barteo avatar barteo commented on June 16, 2024

Is there any recent progress in implementing this feature?

from vault.

mariobodemann avatar mariobodemann commented on June 16, 2024

Hello @barteo,

I do not have any progress for you, since it always depends on your specific use case. I can recommend reading Executing commandline tasks in gradle and using a script like

adb shell 'mkdir -p /sdcard/.contentful;
   run-as discovery.contentful cp databases/cfdiscovery.db /sdcard/.contentful';
adb pull /sdcard/.contentful app/src/main/assets

To copy the database file from an existing debug app, to you local git repository.

from vault.

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.