mongodb / server-workflow-tool Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Max suggested using "--rev {ticket_conf.base_branch}@{{upstream}}..." here
instead of "--rev {ticket_conf.base_branch}..." to fix a problem where if the work branch is being rebase from remote origin master, the CR diff will contain the diff between the work branch and the out of date local master branch. This change fixes that problem.I created some changes in the enterprise module to accompany the changes in the mongo repo that I had made. I submitted an evergreen patch which used my enterprise changes (link)
I then tried to run workflow tool
on my mongo branch, but the tool only submitted a CR for the enterprise changes. I am unable to submit a CR for the mongo changes.
People ignore green colored things.
Also maybe force people to confirm they read it...
Record the version of the enterprise module corresponding to the base commit to avoid having to rebase before every patch and letter the user deal with potential conflicts
The above command fails because it can't find mongo-cmakelists.txt
- and neither can I in any repo or website or wiki. And the only references I can find to CMakeLists.txt
. Not sure what to do with this.
From Max's comment on the wiki:
Please don't encourage the "--rev HEAD~1" pattern (or counting the number of commits via git log). "--rev origin/master..." (yes, three dots) is the Correct Thing (it'll resolve the diff against the merge-base commit, which is the commit the branch started from)
maybe you could also add a "skip" option here? typing 'atom' or 'sublime-text' seems to fail:
brew install --upgrade sublime-text
Encountered a bad command exit code!
Command: 'brew install --upgrade sublime-text'
Exit code: 1
Stdout:
Stderr:
end of the run.
-i, --interactive Download and patch formula, then open a
shell. This allows the user to run
./configure --help and otherwise
determine how to turn the software package
into a Homebrew package.
-g, --git Create a Git repository, useful for
creating patches to the software.
-h, --help Show this message.
Error: invalid option: --upgrade
Need to figure out what the transition ID is for "Ready To Merge"
The following needs to get appended to .evergreen.yml somewhere in this script:
projects:
- name: mongodb-mongo-master
default: true
alias: required
tasks:
- all
this causes a failure if you follow the instructions exactly. we should either remove the dependency or just have ninja be a part of the basic instructions
setup.macos
surreptitiously clones all repos into ~/mongodb/*
and doesn't tell anyone. We should have the post setup step notify the user of the repos' locations
we turned out password auth for Jira
It's ready!
Currently the script expects pip2 or (python2 -m pip
) and the installation does not do that. maybe need to add brew install python@2
as well?
https://github.com/mongodb/server-workflow-tool/blob/master/mongodb_cmdline_tool/setupenv.py#L112
> m setup-dev-env.macos-extra
Installing ninja
brew install ninja
==> Downloading https://homebrew.bintray.com/bottles/ninja-1.9.0.mojave.bottle.tar.gz
==> Pouring ninja-1.9.0.mojave.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completions have been installed to:
/usr/local/share/zsh/site-functions
==> Summary
๐บ /usr/local/Cellar/ninja/1.9.0: 7 files, 275.8KB
mkdir -p /Users/ian/mongo/src/mongo/db/modules
cd /Users/ian/mongo/src/mongo/db/modules && git clone https://github.com/RedBeard0531/mongo_module_ninja ninja
Cloning into 'ninja'...
cd /Users/ian/mongo && python buildscripts/scons.py CC=clang CXX=clang++ CCFLAGS=-Wa,--compress-debug-sections MONGO_VERSION='0.0.0' MONGO_GIT_HASH='unknown' VARIANT_DIR=ninja --modules=ninja build.ninja
scons: Reading SConscript files ...
File "/Users/ian/mongo/SConstruct", line 933
print( "python version: " + " ".join( [ `i` for i in sys.version_info ] ) )
^
SyntaxError: invalid syntax```
We can close if I've misunderstood something here, but in running m lint
for the first time, clang-format gets downloaded placed in the same directory you've run m in. In my case that was the root of ./mongo/
.
Presumably that's not a good or common place because it is not in the .gitignore file but it is still in the repo path. Would appreciate some guidance on where it should go and then I can update this script to be more explicit.
As per above, running m
puts a Profile file wherever it is run, which presumably not what we want to happen since it once again can pollute the mongo tree. Need to know where to put this and I can make the change to put it there.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.