Brendan Ashworth
c59b995f7b
build: ditch verifiers on make ( #4679 )
...
This commit ditches running verifiers automatically when just building
the server. It retains the verifiers when running tests.
There is very little point to running the verifiers each time a
developer builds the library but has no intent of running the tests.
They're expensive in time; this commit halves the build time on my
system, from 57 seconds to 29 seconds. This is because verifiers updates
the libraries from GitHub each time, which is slightly wasteful.
Additionally, computing cyclomatic complexity is expensive
computationally and isn't necessary to build the library.
Additionally, this allows the library to be built offline. It no longer
requires internet to run make.
7 years ago
Harshavardhana
a86dc8a4c5
cleanup makefile and enable CGO_ENABLED=0 ( #4598 )
8 years ago
Harshavardhana
432bf7d99e
Fail if formatting is wrong in our CI tests. ( #4459 )
...
We didn't fail before, we should helps in avoiding
formatting issues to creep into the codebase.
8 years ago
Harshavardhana
b78f6fbcc5
Do not send envVars in ServerInfo() ( #4422 )
...
Sending envVars along with access and secret
exposes the entire minio server's sensitive
information. This will be an unexpected
situation for all users.
If at all we need to look for things like if
credentials are set through env, we should
only have access to only this information
not the entire set of system envs.
8 years ago
Harshavardhana
dc365bca44
build: -s -w should be added by gen-ldflags.go ( #4172 )
8 years ago
Harshavardhana
214279aa57
build: Reduce binary size by using -s -w ( #4027 )
...
Refer #3939
8 years ago
Harshavardhana
4de6b15fca
vet: Fix all the go vet complaints ( #4029 )
...
```
go tool vet -atomic -bool -copylocks -nilfunc \
-printf -shadow -rangeloops -unreachable \
-unsafeptr -unusedresult cmd/
```
8 years ago
Harshavardhana
28eff0f6c1
build: Improve build messaging, say where we built Minio. ( #3973 )
8 years ago
Harshavardhana
43317530d5
Fix odd shadowing bug in XL init. ( #3874 )
...
Fixes #3873
8 years ago
Bala FA
440866d26c
Move go version check into main() ( #3734 )
...
Previously the check was done in init(). This patch moves into main
for unit testable friendly function.
8 years ago
Harshavardhana
464f9d34d6
Remove all references to GO15VENDOREXPERIMENT
8 years ago
Anand Babu (AB) Periasamy
f53fcdf10e
keep make messages consistent ( #3437 )
8 years ago
Harshavardhana
d31f256020
Fail on lint errors during CI build.
8 years ago
Harshavardhana
6efee2072d
objectLayer: Check for `format.json` in a wrapped disk. ( #3311 )
...
This is needed to validate if the `format.json` indeed exists
when a fresh node is brought online.
This wrapped implementation also connects to the remote node
by attempting a re-login. Subsequently after a successful
connect `format.json` is validated as well.
Fixes #3207
8 years ago
Anis Elleuch
5741a53d46
More portable way to list files to be spellchecked and include docs/ directory ( #3220 )
8 years ago
Harshavardhana
bccf549463
server: Move all the top level files into cmd folder. ( #2490 )
...
This change brings a change which was done for the 'mc'
package to allow for clean repo and have a cleaner
github drop in experience.
8 years ago
Harshavardhana
0a3d43273f
vendor: sha256 32bit updated. ( #2459 )
8 years ago
Harshavardhana
76d56c6ff2
typo: Fix typos across the codebase. ( #2442 )
8 years ago
Harshavardhana
90c20a8c11
Add codecov for minio. ( #2359 )
8 years ago
Harshavardhana
3fa95f5263
docker: Remove unneeded docker files and makefile tags.
9 years ago
Harshavardhana
a98a7fb1ad
Implement XL layer - preliminary work.
9 years ago
Harshavardhana
ff4e04d942
atomic/fs: use safe package for atomic writes, even in multipart.
9 years ago
Harshavardhana
379e0abf03
cleanup: Remove old donut/xl code and erasure implementation.
...
This is a change to bring in 'klauspost/reedsolomon' library
in #1270 patch.
9 years ago
Harshavardhana
59ee5a547c
release: gz doesn't preserve permissions use tar.gz
...
And fix various other issues with release script.
9 years ago
Anis Elleuch
663f24064b
Add simple FreeBSD support, make the minio project compilable
9 years ago
Harshavardhana
1b0bc814c4
docker: Fix docker Makefile.
9 years ago
Harshavardhana
1ef5ab3c28
docker: Fix docker command entry.
9 years ago
Harshavardhana
41cba3a457
buildscripts: compress release binaries.
...
Fix update command as well to show compressed files in updates.
9 years ago
Harshavardhana
024c00addd
build: Fix release tag.
9 years ago
Harshavardhana
223245cc45
build: Add release builds, now generated with 'make release'
...
Currently supported platforms are
- linux{amd64,arm,386}
- winows{amd64,386}
- darwin{amd64}
9 years ago
Harshavardhana
408aa72146
build/vet: Fix all the shadowing reports with go1.6
...
Golang 1.6 is default version for the build now.
Additionally set 'GODEBUG=cgocheck=0' for now, until
we fix the erasure coding package.
Readmore here https://tip.golang.org/doc/go1.6#cgo
9 years ago
Harshavardhana
2181003609
web: Removing dependency for gpg and downloading assets.
...
Assets are vendorized from now on and updated for each release.
9 years ago
Harshavardhana
354229732b
docker: Make sure that we properly check for containers.
9 years ago
Harshavardhana
9e10ee7e47
cpu: Remove pkg/cpu in favor of better klauspost/cpuid.
...
Fixes #1128
9 years ago
Harshavardhana
ebdbe2db44
build: Simplify and build only with Makefiles.
...
Configure is not portable.
9 years ago
Harshavardhana
62f6ffb6db
xl: Moved to minio/minio - fixes #1112
9 years ago
Harshavardhana
70bbf4c8ec
build: Change UI assets location.
9 years ago
Harshavardhana
98ee5fcf55
build: Add spelling checks and check if curl is installed.
9 years ago
Harshavardhana
2c6da82788
build: Cleanup assets file upon make clean.
9 years ago
Harshavardhana
c9d2904e42
docker: Fix docker build.
9 years ago
Harshavardhana
a066184bed
ui-assets: Integrate UI assets.
9 years ago
Karthic Rao
b457a61cb2
Minor changes to Makefile to avoid the make failure when GOPATH/bin is not part of PATH
9 years ago
Harshavardhana
023f799820
build: Do not hardcode docker binary path
...
Fixes #1035
9 years ago
Harshavardhana
661229d7f7
doc: Add MAINTAINERS.md
9 years ago
Harshavardhana
c22eb6d2c5
makefile: Fix docker image
9 years ago
Harshavardhana
c67a8cb6e5
build: Attempt to enable windows compilation
9 years ago
Krishna Srinivas
f77851bee0
docker: second --ldflags was overriding the first --ldflags option
9 years ago
Harshavardhana
2f98fa0a14
build: update LDFLAGS for windows
9 years ago
Krishna Srinivas
440bec28d9
docker: the docker image will now contain just the static binary
9 years ago
Harshavardhana
7845515f36
build: Versioning now populated through ldflags
9 years ago