Jump to content
thirty bees forum

Question

Posted

Hi,

After forking and cloning the repo, I've installed TB locally and noticed bunch of files/folders added to my uncommitted files. I ran git rm -rf --cached . & git add . But now I have about 1500 uncommitted files. Is it possible that the original ignored files is different than the one I have. I would like to start contributing but ate to start on the wrong foot.

I also noticed that RTL support (Front & Back) is depreciated allot from PS version, why is that?

17 answers to this question

Recommended Posts

  • 0
Posted

With Git one can add individual files ... sh git add <path/to/file> ... or even individual patches: sh git add -p Then do a git commit and the new commit will contain the selected changes, only.

If you want to revert files that shouldn't have changed, simply check them out. By file or by folder.

  • 0
Posted

@mdekker Can you please check if files/folder exists in your repo are also in the gitignore? I just started with this fork, I didn't do any modification yet, so there is no point to start over.

Can you please check it for me? can you re clone your project to a new folder and do a web installation and see if you have anything in the uncommit files.

  • 0
Posted

@yaniv14, you know best which files you're seeing. We do not see them and you don't tell us either. You can also look into .gitignore, it's part of the repository. You can also create another clone for testing if the previous clone contains valuable work already.

For me, cloning the repo works just fine as well.

  • 0
Posted

Hi,

I've just started from scratch following everything on this list: https://github.com/ThirtyBees/thirtybees/blob/master/CONTRIBUTING.md. Fork, clone, composer install & create new branch. After that I installed TB from browser "...../install-dev"

After finishing with the installation I ran git status and I have 75 changes not staged for commit. Here is the list:

C:\wamp\www\thirtybees>git status On branch yaniv Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git checkout -- ..." to discard changes in working directory) (commit or discard the untracked or modified content in submodules)

    modified:   mails/en/account.html
    modified:   mails/en/account.txt
    modified:   mails/en/backoffice_order.html
    modified:   mails/en/backoffice_order.txt
    modified:   mails/en/bankwire.html
    modified:   mails/en/bankwire.txt
    modified:   mails/en/cheque.html
    modified:   mails/en/cheque.txt
    modified:   mails/en/contact.html
    modified:   mails/en/contact.txt
    modified:   mails/en/contact_form.html
    modified:   mails/en/contact_form.txt
    modified:   mails/en/credit_slip.html
    modified:   mails/en/credit_slip.txt
    modified:   mails/en/download-product.tpl
    modified:   mails/en/download_product.html
    modified:   mails/en/download_product.txt
    modified:   mails/en/employee_password.html
    modified:   mails/en/employee_password.txt
    modified:   mails/en/forward_msg.html
    modified:   mails/en/forward_msg.txt
    modified:   mails/en/guest_to_customer.html
    modified:   mails/en/guest_to_customer.txt
    modified:   mails/en/in_transit.html
    modified:   mails/en/in_transit.txt
    modified:   mails/en/lang.php
    modified:   mails/en/log_alert.html
    modified:   mails/en/log_alert.txt
    modified:   mails/en/newsletter.html
    modified:   mails/en/newsletter.txt
    modified:   mails/en/order_canceled.html
    modified:   mails/en/order_canceled.txt
    modified:   mails/en/order_conf.html
    modified:   mails/en/order_conf.txt
    modified:   mails/en/order_conf_cart_rules.tpl
    modified:   mails/en/order_conf_cart_rules.txt
    modified:   mails/en/order_conf_product_list.tpl
    modified:   mails/en/order_conf_product_list.txt
    modified:   mails/en/order_customer_comment.html
    modified:   mails/en/order_customer_comment.txt
    modified:   mails/en/order_merchant_comment.html
    modified:   mails/en/order_merchant_comment.txt
    modified:   mails/en/order_return_state.html
    modified:   mails/en/order_return_state.txt
    modified:   mails/en/outofstock.html
    modified:   mails/en/outofstock.txt
    modified:   mails/en/password.html
    modified:   mails/en/password.txt
    modified:   mails/en/password_query.html
    modified:   mails/en/password_query.txt
    modified:   mails/en/payment.html
    modified:   mails/en/payment.txt
    modified:   mails/en/payment_error.html
    modified:   mails/en/payment_error.txt
    modified:   mails/en/preparation.html
    modified:   mails/en/preparation.txt
    modified:   mails/en/refund.html
    modified:   mails/en/refund.txt
    modified:   mails/en/reply_msg.html
    modified:   mails/en/reply_msg.txt
    modified:   mails/en/shipped.html
    modified:   mails/en/shipped.txt
    modified:   mails/en/test.html
    modified:   mails/en/test.txt
    modified:   mails/en/voucher.html
    modified:   mails/en/voucher.txt
    modified:   mails/en/voucher_new.html
    modified:   mails/en/voucher_new.txt
    modified:   modules/authorizeaim (untracked content)
    modified:   modules/blocktopmenu (untracked content)
    modified:   modules/cronjobs (untracked content)
    modified:   modules/mailchimp (untracked content)
    modified:   modules/stripe (untracked content)
    modified:   modules/themeconfigurator (untracked content)
    modified:   translations/en.gzip

no changes added to commit (use "git add" and/or "git commit -a")

So what next?

  • 0
Posted

These are not unexpected. They're generated by one (or more) of the automatic upgrade processes built into 30bz (and PS).

Either do a git checkout . to reset them or create a commit with all of them.

Adding them to .gitignore isn't a good idea, because the English versions of these files are tracked in the main repository. At least at this point in time.

  • 0
Posted

If you wonder whether it's normal to have a couple of commits on top of the public ones: yes it is. My own development repo currently carries a stack of 69 commits on top of master. Most of them already provided as pull requests, but also simple ones like "turn on debug mode".

  • 0
Posted

I've started modifying rtl.scss and rtl.css but I don't have the files ready for commit. I dont see that file or folder being ignored anywhere.

It will be hard for me to contribute if I can't get basic things to work.

  • 0
Posted

Other than wit PS 1.6, the theme is a separate module. Try something like this: sh $ cd themes/community-theme-default/ $ git status $ git add . $ git commit If you want to prepare for a pull request, you have to work of a personal clone, too, just like with the main repo.

As we're on the topic: updating all submodules goes like this (from the main repo, takes something like a minute): sh git submodule update --init --remote --rebase

  • 0
Posted

Now I see where I was wrong. I looked at the main repo as the only repo, when I should have worked with different repos for different checkout/commits. I'll probably start again from scratch and redo my PR again as well.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...