Comments (15)
I would want to try out this one.
from startup-os.
Ok, go ahead :)
from startup-os.
@NikleshPhabiani for reference, you can have a look at how //tools:protoc
is implemented. Remember it should work at both platforms (Linux/macOS). Ping me if you need any help 🙂
from startup-os.
@vmax . Actually, I did happen to look at how //tools:protoc
is implemented a few days back and looked something that would help me out in this issue but haven't looked at it lately. Thanks a lot for the update. Yes, will definitely let you know if I need any help.
from startup-os.
A snippet for installation of clang-format on macOS:
platform=$(uname)
if [ "$platform" == "Darwin" ]; then
mkdir -p ./clang-format
curl 'http://releases.llvm.org/6.0.0/clang+llvm-6.0.0-x86_64-apple-darwin.tar.xz' -o './clang-format/clang-format.tar.xz'
tar xvfj clang-format/clang-format.tar.xz -C ./clang-format
rm -f ~/bin/clang-format
ln -s $(pwd)/$(find clang-format | grep bin/clang-format$) ~/bin/clang-format
fi
Is this fine or is something else expected? The other relevant files will be changed but this is just a snippet for installation on the system. Also, which binary from the releases needs to be used for installation on Linux? Thanks.
from startup-os.
So the idea is to have bazel get the binary. That way no setup step is needed from the developer.
If you look at https://github.com/google/startup-os/blob/master/tools/BUILD#L36
It uses protoc_bin
which is defined in WORKSPACE
.
Ohh, and when we say linux, we actually mean Ubuntu :) so "Clang for Ubuntu 16.04".
from startup-os.
Hey, how's it going?
from startup-os.
Hey. Sorry, couldn't work on this during the week. I will get this done early in the weekend. Oh ok, got it. Thanks a lot. One doubt. What would be the SHA-256 code for these? I couldn't figure out a way yet to retrieve a tag for each.
from startup-os.
That's fine, just checking.
About SHA-256, we use this:
https://github.com/google/startup-os/blob/master/WORKSPACE#L1-L2
Thanks again!
from startup-os.
@NikleshPhabiani One more SHA-256 tip: if you don't specify it, bazel
will print it out on building the target that depends on that archive
from startup-os.
Thanks a lot for all the help. I have a doubt regarding YAPF. The release does not have separate versions for Linux and macOS. Is it platform independent and linked directly to Python? Kindly let me know what needs to be done with respect to YAPF.
from startup-os.
@NikleshPhabiani it'll be great to use it as http_archive
together with writing custom BUILD
file with py_binary
target in it
from startup-os.
clang-format
is now fully added. Thanks Niklesh! Do you want to continue this task for YAPF?
I believe that YAPF is platform-independent.
from startup-os.
Actually, I am extremely tied up for sometime with university coursework and interviews. Hence, won't be able to pick this up atleast for a couple of days.
from startup-os.
That's fine. I created an issue just for yapf #304
You're welcome to take a look, but just know that the python task is a P3 (lower priority), since we don't currently use python. There's other issues that are good first good issue
(although you're not a first contributor anymore ;) you're welcome to take a look.
More details about P3 and other priorities: https://developers.google.com/issue-tracker/concepts/issues
from startup-os.
Related Issues (20)
- `base_folder/head` contains two folders with `startup-os` repos
- The Firebase token expiration
- Create a simple HTML + js page to replace web_login HOT 1
- Use the usernames defined in the repo
- Fallback server bug HOT 1
- Delete old projects with vulnerabilities
- Update Reviewer to Angular 7 HOT 1
- Reviewer Lite
- Option to mark a file as reviewed on diff page
- File expand bug
- Upload queue [BUG] HOT 1
- Blocks should have the same amount of lines [BUG]
- Shared protoc
- Fix reviewer deprecations
- Create a derivative user collection in `hasadna` to that in `startup-os`
- Is there any way to use MessageDifferencer from this repo by adding a maven dependency in my code? HOT 8
- MessageDifferencer ignoreFields doesn't work for RepeatedFields. HOT 4
- Has this been abandoned? HOT 10
- Error: "Project startup-os has been deleted" on build HOT 2
- gRPC microservices example can not run: GitRepoFactory.java is missing in repository. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from startup-os.