GithubHelp home page GithubHelp logo

Comments (15)

alerman avatar alerman commented on May 12, 2024 1

@ctubbsii I sure did! Thanks for the help.

from accumulo-website.

keith-turner avatar keith-turner commented on May 12, 2024 1

Well I crashed and burned here. I guess I won't be on the commit list very long.

Its all good. Can not learn w/o making mistakes. Much bigger mistakes have been made and will continue to be made.

from accumulo-website.

alerman avatar alerman commented on May 12, 2024

I hadn't linked my github account to my Apache Id. That is done now so once that updates I will push the change for me. Thanks @ctubbsii

from accumulo-website.

ctubbsii avatar ctubbsii commented on May 12, 2024

@alerman Even without linking your Apache ID to your GitHub account, you can still push changes directly to: https://gitbox.apache.org/repos/asf/accumulo{,-website, etc...}

from accumulo-website.

alerman avatar alerman commented on May 12, 2024

@ctubbsii Thanks! I was able to push up the changes for my information. I did not publish as there were changes after the build to my info and also to versions for accumulo2-maven-plugin I wasn't involved in.

from accumulo-website.

ctubbsii avatar ctubbsii commented on May 12, 2024

@ctubbsii Thanks! I was able to push up the changes for my information. I did not publish as there were changes after the build to my info and also to versions for accumulo2-maven-plugin I wasn't involved in.

I don't see any changes other than yours. You may have an out-of-date asf-site branch.

Try something like the following to ensure your branch is up-to-date first before generating the site (assuming https://gitbox.apache.org/repos/asf/accumulo-website is upstream):

git remote update --prune
git checkout -t upstream/asf-site || git checkout asf-site
git reset --hard upstream/asf-site
git checkout -t upstream/master || git checkout master
git reset --hard upstream/master
_devtools/git-hooks/post-commit
git branch -vv
git push upstream : --dry-run

The output of git branch -vv should show that the asf-site branch is now one commit ahead of upstream/asf-site. Something like:

  asf-site f834951d [upstream/asf-site: ahead 1] Jekyll build from master:813dfb1
* master   813dfb1f [upstream/master] Fix ordering and update ATG link

You can verify the generated changes by doing:

git log -n1 -p asf-site

The output with the --dry-run should look similar to:

To https://gitbox.apache.org/repos/asf/accumulo-website
   06758ff3..f834951d  asf-site -> asf-site

The asf-site branch should be the only branch listed to be updated. If everything looks okay, then repeat the git push upstream : command without --dry-run to actually push to the asf-site branch.

from accumulo-website.

ctubbsii avatar ctubbsii commented on May 12, 2024

@alerman It looks like you got a successful update of the website with 0db5af5 on the asf-site branch! Awesome!

from accumulo-website.

hkeebler avatar hkeebler commented on May 12, 2024

My update seemed to work.

from accumulo-website.

ctubbsii avatar ctubbsii commented on May 12, 2024

@hkeebler Your commit on the asf-site branch references: build from master:86000a3, but there is no commit on the master branch matching 86000a3. I suspect you forgot to push the master branch along with the updated asf-site branch. Without the updates to the master branch, the generated updates in the asf-site branch will get clobbered when the next person builds.

from accumulo-website.

hkeebler avatar hkeebler commented on May 12, 2024

So I also need to do a git push on the master? Well no I actually am not authorized to do that. I'm guessing I should have forked it. Will try that.

from accumulo-website.

hkeebler avatar hkeebler commented on May 12, 2024

Well I crashed and burned here. I guess I won't be on the commit list very long. @alerman did you push directly to the accumulo-website master? I am unable to do that.

from accumulo-website.

alerman avatar alerman commented on May 12, 2024

@hkeebler I did. I was able to after making sure my GitHub account was linked to my Apache id via https://gitbox.apache.org/setup/

from accumulo-website.

ctubbsii avatar ctubbsii commented on May 12, 2024

So I also need to do a git push on the master? Well no I actually am not authorized to do that. I'm guessing I should have forked it. Will try that.

Yes, you have to push to master first (actually, I tend to push to master and to asf-site simultaneously with the : for the branch name, as indicated in my instructions above). You may not have permission to push to the GitHub repo unless you link your new Apache ID with your GitHub user name with the link Adam provided above. But, if you configure your remote to be https://gitbox.apache.org/repos/asf/accumulo-website instead of https://github.com/apache/accumulo-website (or similar GitHub ssh endpoint), you should have write access with your Apache ID credentials.

It looks like the most recent blog post update clobbered your changes to asf-site branch... but it's fine. If you can update your local repository, and re-apply your changes to master, and regenerate the asf-site, it shouldn't be a problem.

If you run into trouble, please don't hesitate to let us know where you're stuck.

from accumulo-website.

hkeebler avatar hkeebler commented on May 12, 2024

I believe all is good now. Thank you. It seemed to take a while for the MFA status to complete.

from accumulo-website.

ctubbsii avatar ctubbsii commented on May 12, 2024

I believe all is good now. Thank you. It seemed to take a while for the MFA status to complete.

Yep. Looks good!

from accumulo-website.

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.