Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
d6f2bc64
Verified
Commit
d6f2bc64
authored
Feb 10, 2018
by
David Haynes
🙆
Browse files
Docs changes
- a constant state of disaster
parent
86aed9b7
Pipeline
#2108
passed with stages
in 2 minutes and 32 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CONTRIBUTING.md
View file @
d6f2bc64
...
...
@@ -18,13 +18,15 @@ the issues page.
If you decide to take on an issue for Go you will need to work in a branch off
of the current development branch (ie.
`2.3-dev`
with 2.3 being the version in
development).
development).
This can be done with the following chain of
`git`
commands within
`go/`
:
git pull
git checkout 2.3-dev
git checkout -B ##-shortdescription
```
sh
git pull
git checkout 2.3-dev
git checkout
-B
##-shortdescription
```
**Note:**
...
...
@@ -34,9 +36,11 @@ does.
**Example:**
git pull
git checkout 2.3-dev
git checkout -B 102-readmeUpdates
```
sh
git pull
git checkout 2.3-dev
git checkout
-B
102-readmeUpdates
```
If you are working on something that does not have an issue please open a new
issue before creating your branch.
...
...
README.md
View file @
d6f2bc64
...
...
@@ -221,6 +221,18 @@ repository and is named go-cleanlinks.cron. Drop this in cron.hourly and
change the paths so that they point to the virtualenv activate script and
manage.py.
## Production cron job
```
sh
#!/bin/bash
# Cron job to automatically expire outdated links, put this in cron.hourly
ACTIVATE_PATH
=
/path/to/virtualenv/activate
MANAGE_PATH
=
/path/to/go/manage.py
source
${
ACTIVATE_PATH
}
python
${
MANAGE_PATH
}
expirelinks
```
---
**Note:**
...
...
go-cleanlinks.cron
deleted
100644 → 0
View file @
86aed9b7
#!/bin/bash
# Cron job to automatically expire outdated links, put this in cron.hourly
ACTIVATE_PATH
=
/path/to/virtualenv/activate
MANAGE_PATH
=
/path/to/go/manage.py
source
${
ACTIVATE_PATH
}
python
${
MANAGE_PATH
}
expirelinks
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment