skywalking 0.0.0.beta2 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '058cbfc2e9df3398ba09f1a8da70408f7e96f8566f13bb28ea53aa7d77da899b'
4
- data.tar.gz: a33b749f8113734ca347028255fb8bbc560f0c0a1516dcd117389e0cd74cdd88
3
+ metadata.gz: 61f4463e396a77b2dbf283cf793f868755b8e350e69bd92246bb1d0ca284655c
4
+ data.tar.gz: 66371e9c08dcdaf408f43830b2ccfd71673516dc90b4ad620e92c1e5a32b8b0d
5
5
  SHA512:
6
- metadata.gz: 8f389f316e1b73cb05b4dde7d792442a9a7e845401118d7eda452e5d8486d442d9a4c778891d33bcc4540f8189b79a7a17bf230c461d7c294c50c89d89664c1a
7
- data.tar.gz: 640b7164490de817255ef9699f3cce48eb7f90285901d5e0e54818d6a35eb61ce660df59a9039e62656133a2a0940482b7c444480a575ddb77cdf35d77b1e997
6
+ metadata.gz: 438ded62f2650740a7b7806b0b38fc3bcc93ca252162ea3b5e579ef06e4c6b1f05c6116bfb715c93609942a1f05e3581294a27c94bce2fdece3847033b339a03
7
+ data.tar.gz: eb3ad2986b8f2b31d225ade8a4602220b3b5cf25f6818a0031cf9ba04d0fb2b519d56b4215071d0e94f41d622c4f9130643163a675c451685357d8b64558537a
data/.gitignore CHANGED
@@ -77,4 +77,5 @@ build-iPhoneSimulator/
77
77
  Gemfile.lock
78
78
  gemfiles/*.lock
79
79
  .DS_Store!
80
- spec/workspace
80
+ spec/workspace
81
+ *.tgz*
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,51 @@
1
+ # Contributing to Apache SkyWalking Ruby
2
+
3
+ Firstly, thanks for your interest in contributing! We hope that this will be a pleasant experience for you,
4
+ so that you will return to continue contributing.
5
+
6
+ ## Code of Conduct
7
+
8
+ The project and everyone participating in it is governed by the Apache software Foundation's [Code of Conduct](http://www.apache.org/foundation/policies/conduct.html).
9
+ By participating, you are expected to adhere to this code. If you are aware of unacceptable behavior, please visit the [Reporting Guidelines page](http://www.apache.org/foundation/policies/conduct.html#reporting-guidelines)
10
+ and follow the instructions there.
11
+
12
+ ## Contribute
13
+
14
+ Most of the contributions that we receive are code contributions, but you can also contribute to the documentation or simply report solid bugs for us to fix.
15
+
16
+ ## Report a bug
17
+
18
+ * **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/apache/skywalking/issues).
19
+
20
+ * If you're unable to find an issue addressing the problem, [open a new one](https://github.com/apache/skywalking/issues/new).
21
+ Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not happening.
22
+
23
+ ## Compiling and building
24
+
25
+ We recommend using a Ruby base image of at least 3.0 to build skywalking-ruby project
26
+
27
+ ```shell
28
+ docker run -it --rm -v $(pwd)/skywalking-ruby:/workspace -w /workspace ruby:3.0 bash
29
+ ```
30
+
31
+ Then run the following commands to build the project:
32
+
33
+ ```shell
34
+ gem build skywalking.gemspec
35
+ ```
36
+
37
+ ## Add a new feature or enhance an existing one
38
+
39
+ _Before making any significant changes, please [open an issue](https://github.com/apache/skywalking/issues)._
40
+ Discussing your proposed changes ahead of time will make the contribution process smooth for everyone.
41
+
42
+ Once we've discussed your changes and you've got your code ready, make sure that tests are passing and open your pull request. Your PR is most likely to be accepted if it:
43
+
44
+ * Update the README.md with details of changes to the interface.
45
+ * Includes tests for new functionality.
46
+ * References the original issue in description, e.g. "Resolves #123", "Closes #123", or "Fixes #123", etc.
47
+ * Has a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
48
+
49
+ ## Questions about the source code
50
+
51
+ * Join `#skywalking` channel at [Apache Slack](https://s.apache.org/slack-invite)
data/Makefile ADDED
@@ -0,0 +1,38 @@
1
+ # Licensed to the Apache Software Foundation (ASF) under one
2
+ # or more contributor license agreements. See the NOTICE file
3
+ # distributed with this work for additional information
4
+ # regarding copyright ownership. The ASF licenses this file
5
+ # to you under the Apache License, Version 2.0 (the
6
+ # "License"); you may not use this file except in compliance
7
+ # with the License. You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ .PHONY: license
18
+ license: license
19
+ docker run -it --rm -v $(shell pwd):/github/workspace ghcr.io/apache/skywalking-eyes/license-eye:20da317d1ad158e79e24355fdc28f53370e94c8a header check
20
+
21
+ .PHONY: clean
22
+ clean:
23
+ rm -rf skywalking-ruby*.tgz*
24
+ rm -rf skywalking*.gem
25
+
26
+ .PHONY: release
27
+ release: clean
28
+ tar -zcvf "skywalking-ruby-src-${VERSION}.tgz" \
29
+ --exclude .git \
30
+ --exclude .idea \
31
+ --exclude .cache \
32
+ --exclude .DS_Store \
33
+ --exclude .github \
34
+ --exclude .gitignore \
35
+ --exclude .gitmodules \
36
+ --exclude "skywalking-ruby-*.tgz*" *
37
+ gpg --batch --yes --armor --detach-sig skywalking-ruby-src-${VERSION}.tgz
38
+ shasum -a 512 skywalking-ruby-src-${VERSION}.tgz > skywalking-ruby-src-${VERSION}.tgz.sha512
data/README.md CHANGED
@@ -8,9 +8,12 @@ Apache SkyWalking Ruby Agent
8
8
  **SkyWalking**: an APM(application performance monitor) system, especially designed for
9
9
  microservices, cloud native and container-based (Docker, Kubernetes, Mesos) architectures.
10
10
 
11
- # Documentation
11
+ ## Documentation
12
12
  - [Official documentation](https://skywalking.apache.org/docs/#RubyAgent)
13
13
 
14
+ ## Contributing
15
+ Before submitting a pull request or pushing a commit, please read our [contributing](CONTRIBUTING.md).
16
+
14
17
  ## Contact Us
15
18
  * Submit [an issue](https://github.com/apache/skywalking/issues/new) by using [Ruby] as title prefix.
16
19
  * Mail list: **dev@skywalking.apache.org**. Mail to `dev-subscribe@skywalking.apache.org`, follow the reply to subscribe the mail list.
@@ -25,7 +25,7 @@ export VERSION=<the version to release>
25
25
  git clone --recurse-submodules git@github.com:apache/skywalking-ruby && cd skywalking-ruby
26
26
  git tag -a "v$VERSION" -m "Release Apache SkyWalking-Ruby $VERSION"
27
27
  git push --tags
28
-
28
+ make release
29
29
  ```
30
30
 
31
31
  ## Upload to Apache svn
@@ -37,11 +37,17 @@ cp skywalking-ruby/skywalking*.tgz release/skywalking/ruby/"$VERSION"
37
37
  cp skywalking-ruby/skywalking*.tgz.asc release/skywalking/ruby/"$VERSION"
38
38
  cp skywalking-ruby/skywalking*.tgz.sha512 release/skywalking/ruby/"$VERSION"
39
39
 
40
- cd release/skywalking && svn add ruby/$VERSION && svn commit ruby -m "Draft Apache SkyWalking-Ruby release $VERSION"
40
+ cd release/skywalking/ruby && svn add $VERSION && svn commit -m "Draft Apache SkyWalking-Ruby release $VERSION"
41
41
  ```
42
42
 
43
43
  ## Call for vote in dev@ mailing list
44
44
 
45
+ First, generate a sha512sum for the source code package generated in last step:
46
+
47
+ ```shell
48
+ sha512sum release/skywalking/ruby/"$VERSION"/skywalking-ruby-src-"$VERSION".tgz
49
+ ```
50
+
45
51
  Call for vote in `dev@skywalking.apache.org`.
46
52
 
47
53
  ```text
@@ -52,6 +58,9 @@ Content:
52
58
  Hi the SkyWalking Community:
53
59
  This is a call for vote to release Apache SkyWalking Ruby version $VERSION.
54
60
 
61
+ We welcome any comments you may have, and will take all feedback into
62
+ account if a quality vote is called for this build.
63
+
55
64
  Release notes:
56
65
 
57
66
  * https://github.com/apache/skywalking-ruby/blob/v$VERSION/CHANGELOG.md
@@ -76,17 +85,10 @@ Keys to verify the Release Candidate :
76
85
 
77
86
  Guide to build the release from source :
78
87
 
79
- * https://github.com/apache/skywalking-ruby/blob/master/CONTRIBUTING.md#compiling-and-building
80
-
81
- Voting will start now and will remain open for at least 72 hours, all PMC members are required to give their votes.
82
-
83
- [ ] +1 Release this package.
84
- [ ] +0 No opinion.
85
- [ ] -1 Do not release this package because....
86
-
87
- Thanks.
88
+ * https://github.com/apache/skywalking-ruby/blob/main/CONTRIBUTING.md#compiling-and-building
88
89
 
89
- [1] https://github.com/apache/skywalking-ruby/blob/master/docs/How-to-release.md#vote-check
90
+ A vote regarding the quality of this test build will be initiated
91
+ within the next couple of days.
90
92
  ```
91
93
 
92
94
  ## Vote Check
@@ -19,6 +19,29 @@ gem "skywalking"
19
19
 
20
20
  Besides, you can also make installation as simple as `gem install skywalking`.
21
21
 
22
+ ## Installing from Source Code
23
+
24
+ **Download the source tar from the [official website](http://skywalking.apache.org/downloads/), and run the following commands to build from source**
25
+
26
+ **Make sure you have Ruby 3.0+ and the `gem` command available**
27
+
28
+ ~~~shell
29
+ tar -zxf skywalking-ruby-src-<version>.tgz
30
+ cd skywalking-ruby-src-<version>
31
+ gem build skywalking.gemspec
32
+ ~~~
33
+
34
+ If successful, the following will be displayed:
35
+
36
+ ```ruby
37
+ Successfully built RubyGem
38
+ Name: skywalking
39
+ Version: <version>
40
+ File: skywalking-<version>.gem
41
+ ```
42
+
43
+ Then you can use `skywalking-<version>.gem` to your gemfile.
44
+
22
45
  ## Getting started with Rails
23
46
 
24
47
  You need to manually add `Skywalking.start` under config/initializers directory.
@@ -14,5 +14,5 @@
14
14
  # limitations under the License.
15
15
 
16
16
  module Skywalking
17
- VERSION = "0.0.0.beta2".freeze
17
+ VERSION = "0.1.0".freeze
18
18
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skywalking
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.beta2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Apache SkyWalking Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-16 00:00:00.000000000 Z
11
+ date: 2025-01-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: grpc
@@ -155,8 +155,10 @@ files:
155
155
  - ".rubocop.yml"
156
156
  - CHANGELOG.md
157
157
  - CODE_OF_CONDUCT.md
158
+ - CONTRIBUTING.md
158
159
  - Gemfile
159
160
  - LICENSE
161
+ - Makefile
160
162
  - NOTICE
161
163
  - README.md
162
164
  - Rakefile