Comments (7)
I'm guessing that someone updated the blueprint by changing the template spreadsheet, but committed their changes to the wrong branch, either 1.0
rather than master
or vice-versa. Compare those two branches in the blueprint repo and merge any changes from the branch that is ahead into the other branch.
@eyeseast, with what version did Tarbell start just using master
instead of the version branch for the blueprint?
@jonathonberlin, what version of Tarbell are you using? This should help clarify the branch issue.
Also check the blueprints defined in ~/.tarbell/settings.yaml
and make sure the repository URL is correct for whatever blueprint you're choosing whenever you run tarbell newproject
.
from tarbell.
Check the SPREADSHEET_KEY
setting in tarbell_config.py
in your project. It should match the key of your new sheet.
from tarbell.
Thanks Chris!
I checked the key and that seems to be lined up. The way we have our blueprint built we put a spreadsheet template into the project's google sheet. that sheet has the fields we use to import into our cms.
That "template" sheet is what is outdated for me. Somehow I'm grabbing an old "template" when I create a new project.
Jonathon
from tarbell.
Ah, I get what you're saying now. Check what branch your _blueprint
directory is on. Tarbell clones it as a submodule, and older versions of Tarbell would try to switch to a branch matching Tarbell's major version (probably 1.0
). If you cd _blueprint
and run git status
, that'll at least tell you if you're on an old branch, or maybe pinned to a commit. Assuming you're making changes on master
, you can do git checkout master
(from within the _blueprint directory
) and get the right version.
See if that helps.
from tarbell.
Thank you both!
from tarbell.
I compared the spreadsheets in both branches 1.0
and master
, and the 1.0
branch had the version of the spreadsheet I was looking for. I had the correct repository url in the settings.yaml
but I'm not sure how to determine what branch of that repository is accessed when I create a new project. (I should say that my tarbell accesses the master
branch if I were to judge by the spreadsheet issue -- what I mean is I don't know why that is or where in the process that relationship is determined)
As a workaround, I put the desired version of the _spreadsheet.xlsx
in the master
and committed that to the repo. Now I get the correct spreadsheet version when I create a new project, but it's possible that I may be missing other changes and just fixed one thing.
Curious: why does it matter which version of tarbell I am running and how can I make sure I'm using the right version for this issue?
Thanks again!!!
from tarbell.
The latest version -- 1.0.7
-- will clone your blueprint on whatever you set as your default branch on Github. Before 1.0.5
, Tarbell would clone the blueprint, then try to checkout its 1.0
branch (matching Tarbell's major version). This was a pain and led to lots of bugs.
The easiest fix, I think, is upgrading your global Tarbell install (sudo pip install tarbell
from outside any active virtualenv). And then look at your blueprints on Github and make sure the default branch is master
(or whatever you're committing to).
from tarbell.
Related Issues (20)
- Update requirements to allow latest versions of dependencies HOT 1
- Include git in requirements HOT 5
- dateutil: 'module' object has no attribute 'parser'
- Roll new release
- Use Drive API v3
- Tarbell shell
- Feature request: Optional setting for different AWS zones in staging & production HOT 2
- VERSION is defined twice, differently
- When generating, copy static files instead of requesting
- Use freeze_yield when generating
- Show build process HOT 1
- Trouble installing HOT 2
- AttributeError hides an easy way to break "values" sheet
- Deleting a directory fails on Python 3
- oauth2client is deprecated
- Problem with S3 deployment - "S3ResponseError: 301 Moved Permanently" HOT 3
- Erratic issue: Variables sometimes not properly passed into templates HOT 5
- Seeking new maintainer
- vulnerabilities in outdated dependencies
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 tarbell.