kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #43719
Re: DRC changes
-
To:
kicad-developers@xxxxxxxxxxxxxxxxxxx
-
From:
Wayne Stambaugh <stambaughw@xxxxxxxxx>
-
Date:
Sun, 26 Apr 2020 10:24:30 -0400
-
Autocrypt:
addr=stambaughw@xxxxxxxxx; prefer-encrypt=mutual; keydata= mQGiBEM0hxQRBAC2fNh3YOVLu1d5GZ0SbrTNldGiGnCJPLqzEnqFX9v6jmf33TMt6EmSLkl6 Wtfkoj0nVwKxcYmJkA8DX0QAokBkwNIzhSsBzQvthBLIk/5LnPVVKrEXOcL4mUyH1doKlkaE slgJozNa6Av+oavcvD02o1zJOloBbaHlNlyRt7fKswCgtIFlVjWggVH/15KfWk+Qo5JVPbME AIUBAQyL2OAx0n60AWec2WHnO9buHuG0ibtICgUMkE+2MRmYyKwYRdyVwGoIUemFuOyHp0AJ InX4T+vy2E7vkwODqjtMLfIoRkokW74Fi4nrvjlhOAw/vdq/twLbAmR9MOfPTpR4y7kQy1O2 /n+RkkRvh26vTzfbQmrH7cBJhk6aA/9Uwvu3E4zNJgHVZeS0HyWtmR1eOPPRbnkPgJTToX5O KMKzTJI/FX6kT7cFoCamitHrW3BJP4Dx+cMMsa47EGxqVTdbVJ4LjogsXTXxb+0Fn1u4zBdx x3Cer6O7+hqWy7zvpzeC6nSREjqDKa5CgHtv/GLm5uFPOmsjAsnHj2tlBrQmV2F5bmUgU3Rh bWJhdWdoIDxzdGFtYmF1Z2h3QGdtYWlsLmNvbT6IeAQTEQIAOBYhBOffs6CbblRzBkv33BtR cWlZ+CReBQJbFBS2AhsDBQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEBtRcWlZ+CReMI8A nRbrLkzp7+c2f0vX7sfg4ICX8LAKAJ9uClo4uJajmZa5zZrL2nKdZlUwIrkCDQRDNIcxEAgA gCru+3/aOC6RCjpvYC72wY+d5SmHphC6yeiV2/mOumyt5MLo/Ps2GznZr11JspqFk5K/Zpvp MMLqqjDZ39+50a2iKRQFJ6NlK+hJWMmj6eJygQrCwYo3Gjc6CqfrqUv+8VSnf/i5sIZmtOVA 4ZjML18MuBvMSsNdVLFJd5HNnYb1iOECpvqdPVh/21LLCEw7MUUGGnHBhCrmk2aJe5hFmcSN g4ldBcXrgMQBwf7aMVoobXBMFDb/IENByXn0llB7Gr2IFMRmNS9/p8s/II1Yl2bTqyX4FSz8 cfn7C9KEz7faZ7wzAcpwHFC/zs3JoAjJ0IEKdNUpIwAlKMzT3CzctwADBQf/cxpG28MKyrqk nNmq/8LQLy+x6FSYXBLjxQz9BiBNYeesDZQ6J5UbL1mjpJzMa5tLZypPYo4bbGyR22hrbyDF K7m6AcVaMIJKl98g4ukMutFfAJyRDaREH5Zl/X1P4u1Z/yaAIy9mKaNbaK1/5djNJ5wCTFen TUgAp9xdc30kGkFDdLJFp5uxDY4P0vaZiZdjUCvDM3Zjv5IzpNOfxVqTUBQNUP/BnnKhkk0p DTD6s3X8S+D0rOtEBQ8K0cwERI/E8EFa8nj0TNw4e2MYGR8wg+SxqJ7z5f0zPY0bO6G9DDFB wYCqzzPWGqdAh9vA5971TAbPERtdFybhkurozp2SfYhJBBgRAgAJBQJDNIcxAhsMAAoJEBtR cWlZ+CResHUAniULLCWiT26ieRTl7N2vS6vBo/DuAJ4m7Ss/gyiW6ybTn1ctDXAUgm2QVQ==
-
In-reply-to:
<B419BD20-A1DD-4867-B25F-611F9946387B@rokeby.ie>
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0
Did you clone your personal fork to you computer? If so you should be
able to just use `git push` to push to push to your remote fork. You
should also add a remote link to the main repo by running the following
command:
git remote add upstream git@xxxxxxxxxx:kicad/code/kicad.git
When you want to sync you local repo run:
git pull upstream master
When you want to update your personal fork on GitLab:
git push origin master
When you want to add a local development branch to your personal fork on
GitLab:
git push origin branch_name
>From there you go to GitLab and you should see an option to create a
merge request from you newly pushed branch.
On 4/26/20 10:14 AM, Jeff Young wrote:
> So I set jeffyoung/kicad as a remote named “public” and set as a mirror.
> But when I push to it I get a bunch of errors:
>
> Jeffs-MBP:kicad jeff$ git push public
> Enter passphrase for key '/Users/jeff/.ssh/id_rsa':
> Enumerating objects: 3601, done.
> Counting objects: 100% (2535/2535), done.
> Delta compression using up to 8 threads
> Compressing objects: 100% (471/471), done.
> Writing objects: 100% (937/937), 529.58 KiB | 8.83 MiB/s, done.
> Total 937 (delta 797), reused 533 (delta 458)
> remote: Resolving deltas: 100% (797/797), completed with 378 local objects.
> remote: GitLab: You are not allowed to force push code to a protected
> branch on this project.
> To gitlab.com <http://gitlab.com>:jeffyoung/kicad.git
> ! [remote rejected] 4.0 (pre-receive hook declined)
> ! [remote rejected] 5.0 -> 5.0 (pre-receive hook declined)
> ! [remote rejected] 5.1 -> 5.1 (pre-receive hook declined)
> ! [remote rejected] drc (pre-receive hook declined)
>
> This is all greek to me. Any ideas?
>
> Thanks,
> Jeff.
>
>
>> On 26 Apr 2020, at 14:58, Jeff Young <jeff@xxxxxxxxx
>> <mailto:jeff@xxxxxxxxx>> wrote:
>>
>> Never mind. That page explains how to do the later.
>>
>>
>>> On 26 Apr 2020, at 14:56, Jeff Young <jeff@xxxxxxxxx
>>> <mailto:jeff@xxxxxxxxx>> wrote:
>>>
>>> And then the merge request, is that from jeff/kicad:jeffDRC to
>>> jeff/kicad:master, or is there some way to do a merge request from
>>> jeff/kicad:jeffDRC to kicad/code/kicad:master?
>>>
>>>> On 26 Apr 2020, at 14:50, Ian McInerney <Ian.S.McInerney@xxxxxxxx
>>>> <mailto:Ian.S.McInerney@xxxxxxxx>> wrote:
>>>>
>>>> Jeff,
>>>>
>>>> From the main repository page, simply click on "Fork" at the top of
>>>> the page. Then you create it inside your Personal namespace. Once
>>>> you do that, the fork can just become a new remote in your git
>>>> repository.
>>>>
>>>> https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html#creating-a-fork
>>>>
>>>> -Ian
>>>>
>>>> On Sun, Apr 26, 2020 at 2:48 PM Jeff Young <jeff@xxxxxxxxx
>>>> <mailto:jeff@xxxxxxxxx>> wrote:
>>>>
>>>> I don’t have a personal repo. Is it (reasonably) obvious how to
>>>> create one?
>>>>
>>>> > On 26 Apr 2020, at 14:32, Wayne Stambaugh
>>>> <stambaughw@xxxxxxxxx <mailto:stambaughw@xxxxxxxxx>> wrote:
>>>> >
>>>> > Hi Jeff,
>>>> >
>>>> > Would you please move your working branch from the main repo
>>>> to your
>>>> > personal repo and create a merge request? This will make it
>>>> much easier
>>>> > to test and avoid poluting the main repo with developers personal
>>>> > working branches.
>>>> >
>>>> > Thanks,
>>>> >
>>>> > Wayne
>>>> >
>>>> > On 4/26/20 8:27 AM, Jeff Young wrote:
>>>> >> I have added code to many DRC errors which shows the minimum
>>>> clearance,
>>>> >> its source, and the actual clearance.
>>>> >>
>>>> >> The old DRC code was pretty heavily optimised around the idea
>>>> of only
>>>> >> needing to know if the clearance was violated (and not by how
>>>> much), so
>>>> >> a lot of it has been re-written. For this reason the new code is
>>>> >> currently in a branch (jeffDRC).
>>>> >>
>>>> >> I’d appreciate some testing on it if anyone gets a chance.
>>>> (More on the
>>>> >> DRC errors themselves than the new reporting.)
>>>> >>
>>>> >> Cheers,
>>>> >> Jeff.
>>>> >>
>>>> >> PS: feel free to report issues here in email, or
>>>> >> in https://gitlab.com/kicad/code/kicad/-/issues/2313.
>>>> >>
>>>> >> _______________________________________________
>>>> >> Mailing list: https://launchpad.net/~kicad-developers
>>>> >> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>> >> Unsubscribe : https://launchpad.net/~kicad-developers
>>>> >> More help : https://help.launchpad.net/ListHelp
>>>> >>
>>>> >
>>>> > _______________________________________________
>>>> > Mailing list: https://launchpad.net/~kicad-developers
>>>> > Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>> > Unsubscribe : https://launchpad.net/~kicad-developers
>>>> > More help : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>> _______________________________________________
>>>> Mailing list: https://launchpad.net/~kicad-developers
>>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>>> More help : https://help.launchpad.net/ListHelp
>>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~kicad-developers
>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>> <mailto:kicad-developers@xxxxxxxxxxxxxxxxxxx>
>> Unsubscribe : https://launchpad.net/~kicad-developers
>> More help : https://help.launchpad.net/ListHelp
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help : https://help.launchpad.net/ListHelp
>
References