| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
| |
Add Korora, Arch, and MacPorts maintainers.
|
|
|
|
|
| |
- Use SHA256 in Arch and Homebrew packages.
- Use OpenSSL to calculate the SHA256 sum, for portability.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In mkrc, separate the list of files with newlines instead of spaces.
Change the `$IFS` when iterating to handle this.
We hand the file off to rcup, which encodes the file name by replacing
spaces with the bell character (`\a`).
rcup then sends the file name off to lsrc, which decodes the bell back
into a space.
The test makes sure an `a` character is in the filename, in case some
encoding goes wrong. We use tr(1) instead of sed(1) because tr(1)
handles `\a`.
Shoutout to Sublime Text 3 for forcing this issue.
|
|
|
|
|
|
|
| |
Pass the dotfiles subdir along with the file to `is_excluded` so that we
can match against it.
Preserve single-file compatibility by looping twice.
|
|
|
|
|
|
|
| |
Run the hooks in alphabetical order so that people can more predictably
manage their hooks.
While here, clean up the NEWS.md.in.
|
|
|
|
|
|
|
|
|
| |
Korora can make use of Fedora packages by specifying the version and
architecture explictly.
Rephrased by Mike Burns for consistency.
Closes #176.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
I just learned, when I upgraded a server that I share with mhoran, that
there is a FreeBSD package. And he didn't tell me!
Thanks to Leonardo for maintaining it and to mhoran for quietly
indicating that it exists.
|
|
|
|
|
| |
Edge case: a file is a copy of a dotfile but is not linked. In this case
we should link it.
|
| |
|
|
|
|
|
|
|
|
| |
rcdn(1) will try to remove a file; if it is not a dotfile, it will keep
going up until it found one. However, we should stop at `$DEST_DIR`
(`$HOME`) -- nothing is relevant to us above there.
Closes #169.
|
|
|
|
|
| |
Now that the Makefile is non-recursive, running an individual test
requires specifying the full path.
|
|
|
|
|
|
|
|
|
|
|
| |
The $USER environment variable is not guaranteed to exist, but $LOGNAME
is defined by POSIX[0] (Environment Variables, section 8.3 Other
Environment Variables). Use that instead.
Thanks to Scott Stevenson for pointing out this solution, and Debian for
raising the problem.
[0]: http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap08.html#tag_08_03
|
|
|
|
|
| |
Instead of a complex graph, process everything from one Makefile.
Simplify, simplify.
|
|
|
|
| |
First time running it ... not bad!
|
| |
|
| |
|
|
|
|
|
| |
Since there are now packages available for newer Ubuntu dsitributions
than the ones specified in README.md, just remove the parentheses.
|
|
|
|
|
|
|
|
| |
Anton has stopped maintaining the rcm package for Gentoo, so remove
mention of them.
Thank you, Anton, for the work you had done, and best of luck to you in
the future!
|
|
|
|
|
| |
This is a pre-release. It is committed so that we can try this on as
many OSes as reasonable.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Calls `find(1)` with the `-exec` action just like before but instead of `run_hooks()`
letting `find` execute the hook directly it is wrapped in a shell one-liner which
changes to the hook's directory and executes the hook with "./" prepended to its
basename. These changes allow hooks to refer to dotfiles with relative paths.
For instance we can call a Makefile two directories up simply with `make -C ../..`.
Also make sure we are compatible with Solaris' Bourne shell and `find(1)`.
Closes #150. Closes #149.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Solaris 10 lacks readlink(1). Additionally, its different grep(1) and
diff(1) do not take a `-q` flag.
Use a Perl one-liner instead of readlink(1) which is missing on Solaris 10.
Also because /usr/bin/grep and diff(1) don't understand the `-q` option, make
them go quiet by redirecting stdout to `/dev/null` instead.
The Perl dependency only exists in the test suite, so it does not incur
a runtime penalty for end users.
This is to work around the fact that readlink(1) is missing on Solaris.
The tradeoff is: on Solaris, installing third-party software (readlink)
is a pain, whereas on e.g. FreeBSD installing third-party software
(Perl) is simple and common.
|
|
|
|
|
| |
The old package was removed during the AUR migration to a git based
platform and now has a new maintainer and package url.
|
|
|
|
|
|
| |
References the `seeitcoming/rcm` COPR.
Closes #156.
|
|
|
|
|
| |
There is no `-e` flag available, and `-x` is the flag that is used for
specifying an exclusion pattern.
|
|
|
|
|
| |
Add two spaces to the end of each package maintainer entry to force
Markdown to add a newline.
|
|
|
|
|
|
|
|
| |
When installing using the default arguments to `configure`, root
privileges are required. Use a "sudo" prefix to notate this.
NB. root privileges are not needed when installing to a prefix under your
control.
|
|
|
|
|
|
|
|
|
|
|
| |
These changes are specified by the Homebrew Ruby style guide and `brew
audit --strict`.
- Remove `require 'formula'` from Homebrew formula. This is no longer
necessary.
- Use HTTPS URLs in Homebrew formula.
- Prefer double quoted strings in Homebrew formula.
- Add description field to Homebrew formula.
|
| |
|
|
|
|
| |
Add a SHA256 hash for the Debian and tarball downloads. Closes #127.
|
|
|
|
| |
`$(var)` creates a sub shell and does not reference a variable
|
|
|
|
|
|
|
|
|
|
| |
This changes the order that things are pulled in so that:
1. Hosts take priority over everything.
2. Tags take priority over default.
3. Default takes priority over nothing.
Closes #94
|
| |
|
|
|
|
|
|
|
| |
Some formatting and more explanatory text. Frost was missing from the
rcm(7) credits. While here, bump the version number.
Honestly I just had these edits sitting around, unsure for how long.
|
| |
|
|
|
|
|
|
|
| |
In preparation for 1.2.4, update the changelog such that it is ready for
a release. Move the bugfixes and documentation improvements to the top,
new features to the bottom, attribute as many people as reasonable, and
so on.
|
|
|
|
|
|
| |
- Make sure IFS in rcup and rcdn isn't left in an incorrect state when
the output of lsrc is empty.
- Add tests to check that hooks run on rcdn and rcup by default.
|
|
|
|
|
|
|
|
|
| |
- Fix obvious typos in `release.in`.
- Build both binary and source Debian package. Also, make sure to run
`debuild` in the actual build directory.
- Add Debian source packages to gh-pages branch.
- Put lonely `:` on its own line, to help it stand out.
- Turn on signing for Debian source packages.
|
|
|
|
|
|
|
| |
Improve the `CONTRIBUTING.md` documentation about what dependencies
exist, how to install them, and how to get started in general. Remind
developers about the `configure` script, because without it no
`Makefile` will exist.
|
|
|
|
|
| |
The explanation in the man page was vague as to what "canonical source"
meant.
|
|
|
|
|
|
|
|
|
| |
The Makefiles were mostly filled with a complex shell script written in
m4sh. Moving that out into a separate script helps debugging and
compatibility, and in general makes life better.
This also improved the DEVELOPERS.md documentation to be more clear
about the steps of a release, including third-party packages.
|
|
|
|
|
|
|
| |
It wasn't obvious that you could also use rcup with undotted files to add them
as new rc files.
There was also a typo.
|
|
|
|
|
|
|
|
| |
These changes:
* add the steps needed to get set up
* update the docs regarding mandatory tests
* clarify release instructions
* fix documentation formatting
|
|
|
|
|
|
| |
The `helper.sh` was not being distributed, which caused `make distcheck`
to fail. Add it as data so that it's not processed but still
distributed.
|
|
|
|
|
|
|
|
|
|
|
| |
This adds the `-U` option to lsrc(1), rcup(1), and rcdn(1) commands; its
argument is an exclusion pattern. Any file matching this pattern is
symlinked without the leading dot.
There is also a `-u` option to undo a `-U`. The `UNDOTTED` setting in
rcrc(5) can be used to set it permanently.
The mkrc(1) command has `-U` and `-u` flags. They take no argument.
|
|
|
|
|
|
|
|
|
|
|
|
| |
The test uses `$(hostname)`, which can produce the FQDN; however, the
code only uses the host name portion of that. Modify the test to do the
same by defining a `hostname` function that calls the hostname(1)
binary then pipes it through sed(1).
Use command instead of hardcoding the path.
OS X uses `$HOSTNAME` instead of the result of hostname(1). In the test
suite, use `$HOSTNAME` first, falling back to hostname(1).
|
|
|
|
|
| |
It was not the full path to the docs, but let's also just refer to the version
on master.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mac OS X's `readlink` command does not support the same options as GNU,
FreeBSD, and other operating systems, nor does it support canonicalizing
symlink resolutions.
In place of `readlink`, we're going to borrow [this] suggested
implementation from the community.
[this]:
http://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac
|