Coder Social home page Coder Social logo

Post-install issues/Q's about shuttle HOT 3 OPEN

square avatar square commented on August 31, 2024
Post-install issues/Q's

from shuttle.

Comments (3)

RISCfuture avatar RISCfuture commented on August 31, 2024

We don't set GitHub credentials. You should either add your machine's public key to the repo's authorized keys or use a .netrc file on your processing host.

Yes, we use it on Linux here at Square. No real differences.

Not sure about your 401 -- it's either a redirect (301/302) or a 401 though. Can't be both.

from shuttle.

fuyuasha avatar fuyuasha commented on August 31, 2024
  • OK on Github creds - configed that and see a repo being retrieved into tmp/repos.
  • Understood on Linux
  • I still can't figure out why I'm getting a redirect (it's a 301) but passing on that for now:
    $ curl -I http://10.11.12.84:3000/users/sign_in
    HTTP/1.1 301 Moved Permanently
    Location: http://localhost:3000

Current problem is that after committing a resource file (both a small Java .properties file and an Android .xml) Shuttle doesn't recognize any keys to translate.
Proj settings as follows (and didn't set any key/path/importer filters):

  • Name
  • Repo URL
  • Required Localizations (de)
  • Import Settings (Java .properties + Android XML)
  • Watched Branches (master)
  • Export Manifest Format (YAML)

Sidekiq log shows:
2015-12-21T19:05:22Z 60993 TID-owx5aso5o CommitImporter JID-51ad13b132592d9fb62c6e0b INFO: start
2015-12-21T19:05:22Z 60993 TID-owx5aso5o CommitImporter JID-51ad13b132592d9fb62c6e0b INFO: done: 0.611 sec

... I'm trying to debug but slow going b/c I/m new to Ruby/RoR. Thinking I must be missing something simple or there's another dependency mismatch of some sort (though no obvious errors/warnings in rails/elasticseach/sidekiq output).

Any suggestions?
Thanks

from shuttle.

fuyuasha avatar fuyuasha commented on August 31, 2024

Answering the last Q above in case anyone else is interested: problem was the source locale filename, needs to conform to what's expected in the import_file? method (shuttle/lib/importer/*.rb).

In my case, with source locale "en", for Android and Java those needed to be:
_en.properties and /values-en/strings.xml

from shuttle.

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.