Coder Social home page Coder Social logo

How to build this app? about gitsync HOT 20 OPEN

abhayghatpande avatar abhayghatpande commented on July 25, 2024
How to build this app?

from gitsync.

Comments (20)

eonist avatar eonist commented on July 25, 2024

its 04:18 in Norway, i was up all night writing this article: http://eon.codes/blog/2017/07/27/Prototyping-in-playground/ πŸ˜… I will help you tomorrow my friend.

from gitsync.

abhayghatpande avatar abhayghatpande commented on July 25, 2024

Hi @eonist
Great post! Would you have time to help me build this? I tried with swift build at the command line, but got the following error:

$ swift build --configuration release
<unknown>:0: error: build had 1 command failures
error: exit(1): /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-build-tool -f /Users/abhay/Workspace/GitSync/.build/release.yaml
$ swift -version
Apple Swift version 3.1 (swiftlang-802.0.53 clang-802.0.42)
Target: x86_64-apple-macosx10.9

from gitsync.

eonist avatar eonist commented on July 25, 2024

I could just upload the .app if you want to try it. It has some bugs but Works 😁 The build process is rather complicated ATM. I have articles on how to do it on eon.codes but still complex if your not a swift dev etc.

from gitsync.

abhayghatpande avatar abhayghatpande commented on July 25, 2024

from gitsync.

eonist avatar eonist commented on July 25, 2024

Cool man. Will do it tonight. An iOS app is also in the works so you can blog on the go and just pull down to sync. πŸ€Έβ€β™€οΈ

from gitsync.

abhayghatpande avatar abhayghatpande commented on July 25, 2024

from gitsync.

eonist avatar eonist commented on July 25, 2024

@abhayghatpande All right here we go: https://github.com/eonist/GitSync/releases/tag/0.0.0-alpha.1 Took a bit of time making it work on other computers than my own MacBook. I tried it on a mac mini from 2k10 and it worked. The first time it runs its a bit slow to boot. But then everything is cached and boots fast the subsequent runs. Good luck.

from gitsync.

reimertz avatar reimertz commented on July 25, 2024

from gitsync.

abhayghatpande avatar abhayghatpande commented on July 25, 2024

Something wrong ... won't open ...

screen shot 2017-08-03 at 16 35 25

from gitsync.

abhayghatpande avatar abhayghatpande commented on July 25, 2024

Tried multiple times to download. Same issue.

Some info about my computer:
screen shot 2017-08-03 at 17 12 12

from gitsync.

eonist avatar eonist commented on July 25, 2024

@abhayghatpande Sierra has stricter security now. To bring back running apps from unidentified developers simply write sudo spctl --master-disable in terminal and hit enter, as per: http://osxdaily.com/2016/09/27/allow-apps-from-anywhere-macos-gatekeeper/ Or you can build from source your self and GateKeeper won't complain.

from gitsync.

eonist avatar eonist commented on July 25, 2024

@reimertz I'm following SemVer: http://eon.codes/blog/2017/01/15/Semantic-Versioning/ 😁

from gitsync.

abhayghatpande avatar abhayghatpande commented on July 25, 2024

@eonist thank you for that override. It opens now.

But not entirely sure if it's working! I set github account and password and local path in the settings.

I tried to add a local and remote repo in the Repos section. Made some commits, but nothing ...

Also the data entered in the Repos sections does not persist ... Only the GitSync repo under Projects is saved.

from gitsync.

eonist avatar eonist commented on July 25, 2024

@abhayghatpande Thanks for your feedback.
I will reconvene tomorrow and fix the "no showing commits" etc πŸ‘

from gitsync.

eonist avatar eonist commented on July 25, 2024

@abhayghatpande Should work better now: https://github.com/eonist/GitSync/releases/

  • Persistent when you create repos etc.
  • Fixed the faulty loading of commits (try cloning the welcome repo to your computer to test)

I will try to add Auto clone tomorrow so that it becomes more of a standalone app.✌️

from gitsync.

abhayghatpande avatar abhayghatpande commented on July 25, 2024

@eonist seems to work now. Just to clarify, do we have to git add new files or not? And need to pull down each time to sync with remote?

from gitsync.

eonist avatar eonist commented on July 25, 2024

@abhayghatpande: You only have to manually clone one time. After that it's all automatic.

  • Gitsync doesn't sync on an interval right now. You have to pull gesture to sync. But I'm adding Auto sync on interval the next few days. I use AutoSync on interval personally, but I use GitSync from 2015, which was just a fancy applescript https://github.com/gitsync/GitSync. It should be trivial to implement in the app. I just have to make sure my background processes are not conflicting etc.

  • I actually added Auto init of repos last night. Just need to make A prompt asking the user if the repo should be created etc.

  • Right now i'm adding A few prompts if there is a merge conflict etc. And a Commit message prompt so the Commits can have more context (Optional)

from gitsync.

eonist avatar eonist commented on July 25, 2024

@abhayghatpande Finished the optional Commit MSG prompt tonight: img

  • I will polish it Tomorrow and start adding Merge conflict Prompt. Maybe even AutoClone Prompt πŸ˜…

Feedback is welcomed πŸ˜ƒ

from gitsync.

abhayghatpande avatar abhayghatpande commented on July 25, 2024

Looks good. I can't build it, so unable to test it. If you could add a README to help build it, it will be great.

from gitsync.

eonist avatar eonist commented on July 25, 2024

Finished the MergeConflictPrompt: img

  • I added instructions how to build it: https://github.com/eonist/GitSync#build but I haven't updated the tags for the dependencies yet. I will do it tomorrow. I will also add CI travis so building can be tested everyday etc.

from gitsync.

Related Issues (5)

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.