Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete prefix=" " in second field if second-field-align="flush" #1349

Merged
merged 1 commit into from
Jan 22, 2015

Conversation

zuphilip
Copy link
Member

(reference to #1346)

Searched for

<bibliography[^>]*second-field-align="flush"[^>]*>.*<layout[^>]*>\r\n\s*<text variable="citation-number"[^>]*/>\r\n\s*<text[^>]*prefix="

(reference to 1346)

Searched for
```
<bibliography[^>]*second-field-align="flush"[^>]*>.*<layout[^>]*>\r\n\s*<text variable="citation-number"[^>]*/>\r\n\s*<text[^>]*prefix="
```
adam3smith added a commit that referenced this pull request Jan 22, 2015
Delete prefix=" " in second field if second-field-align="flush"
@adam3smith adam3smith merged commit 123bc5d into citation-style-language:master Jan 22, 2015
@adam3smith
Copy link
Member

excellent, thanks!

@zuphilip zuphilip deleted the test branch January 22, 2015 06:25
@rmzelle
Copy link
Member

rmzelle commented Jan 22, 2015

It might be good to keep track of all these problematic patterns we identified, e.g. in the wiki or so, with a short description, the regex to find the pattern, and the fixes.

We do these clean-ups once in a while, but these patterns often slowly sneak back in again.

@zuphilip
Copy link
Member Author

Yeah, documentation is always a good idea. Can you prepare an appropriate place in the wiki? Maybe, for a start, we can make a list of the corresponding pull requests...

@rmzelle
Copy link
Member

rmzelle commented Jan 22, 2015

@adam3smith
Copy link
Member

I like it

On Thu, Jan 22, 2015 at 9:59 AM, Rintze M. Zelle notifications@github.com
wrote:

https://github.com/citation-style-language/styles/wiki/Quality-Control ?


Reply to this email directly or view it on GitHub
#1349 (comment)
.

Sebastian Karcher, PhD
Department of Political Science
Northwestern University

@zuphilip
Copy link
Member Author

+1

@zuphilip
Copy link
Member Author

I cannot edit wikipages in the csl-styles repo. At least I don't see any "edit" button...

@rmzelle
Copy link
Member

rmzelle commented Jan 22, 2015

I invited you to become a team member for the "styles" and "locales" repos, which also means you should now have direct push access to those.

If you push to the repos, please first run the Travis CI tests locally, and be careful in general. You can of course also just keep using pull requests.

@adam3smith
Copy link
Member

also, if possible enable two-factor authentication for github to be on the safe side (since this is going out directly to clients)

@rmzelle
Copy link
Member

rmzelle commented Jan 22, 2015

(the alternative is to open up the wiki to everybody, but I never found a good way to get notifications when people make edits)

@adam3smith
Copy link
Member

FWIW, my rule of thumb is to never push anything I did in bulk, I always use pull requests from a separate branch for those. And if you don't want to set up travis locally, I'd stick with pull requests--you can merge them yourself, especially for new styles & smaller edits.

@zuphilip
Copy link
Member Author

Thank you for the trust in me! I happily accepted the invitation. However, I would like to continue to work as before. I don't see currently a reason for me to create direct pushs. 2Way authentification is at the moment not a good option for me, thus I will leave that as it is now.

@rmzelle
Copy link
Member

rmzelle commented Jan 22, 2015

Note that you can use 2-factor authentication without text-messages. You just need a smartphone: https://help.github.com/articles/configuring-two-factor-authentication-via-a-totp-mobile-app/

@zuphilip
Copy link
Member Author

Yeah, but I don't have a smartphone...

@rmzelle
Copy link
Member

rmzelle commented Jan 22, 2015

That's harder, then ;).

@zuphilip
Copy link
Member Author

I documented this pattern on the new wiki page. Hope it is close to what you had in mind.

@rmzelle
Copy link
Member

rmzelle commented Jan 22, 2015

Did you fix the problem with a regex-based find and replace, or by hand? If the former, you could document those expressions as well.

@zuphilip
Copy link
Member Author

I did look at them manually and correct it. But actually it would have been possible to automatically replace them (I added a sentence)

@rmzelle
Copy link
Member

rmzelle commented Jan 22, 2015

Some other changes that we could document:

Add legislation to bill in conditional tests
#126

Add match="any" to conditionals that test for multiple item types.
b55a9c1

remove secondary contributors from journal-article
#638

remove empty prefixes, suffixes, and group delimiters
65ca21b

@zuphilip
Copy link
Member Author

Delete unnecessary et-al-subsequent statements
#1112

@rmzelle
Copy link
Member

rmzelle commented Jan 23, 2015

Hi @zuphilip, I revoked your team status again. It's not that we don't trust you, but any account without 2-factor authentication is rather sensitive to hacking (see e.g. https://github.com/blog/1698-weak-passwords-brute-forced ).

I made the wiki of the "styles" repo editable for members of the public, so you can still edit it.

If, in the future, you get a smartphone and can set up 2-factor authentication, we'd be happy to give you write access again, if you'd like that.

@zuphilip
Copy link
Member Author

Okay. I am still on the honor roll of CSL, that sounds good for me. I will let you know if other write access would become handy and I have the technical requirements for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants